Table of Contents

Class IncludeAssemblyAttribute

Namespace
CMS.Tests
Assembly
CMS.Tests.dll

Includes the given assembly to the test. Use this attribute for assemblies that are referenced by project but not used in the code, so they are included into assembly discovery.

[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public class IncludeAssemblyAttribute : Attribute
Inheritance
object
Attribute
IncludeAssemblyAttribute
Extension Methods

Constructors

IncludeAssemblyAttribute(string)

Constructor

public IncludeAssemblyAttribute(string assemblyName)

Parameters

assemblyName string

Assembly name, e.g. CMS.Core

Remarks

The assemblyName provided is supposed to be the name of the referenced library without .DLL extension.

Properties

AssemblyName

Assembly name, e.g. CMS.Core

public string AssemblyName { get; set; }

Property Value

string

Remarks

The name provided is supposed to be the name of the referenced library without .DLL extension.