ExportTestConditionAttribute Class
Concrete classes implementing TestCondition must add the ExportTestConditionAttribute attribute to their class definition. This ensures they will be detected and added to the set of available test conditions in the SQL Server Unit Test Designer.
Namespace: Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions
Assembly: Microsoft.Data.Tools.Schema.Sql.UnitTesting (in Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll)
Inheritance Hierarchy
System.Object
System.Attribute
System.ComponentModel.Composition.ExportAttribute
Microsoft.SqlServer.Dac.Extensibility.ExportStandardMetadataAttribute
Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExportTestConditionAttribute
Syntax
[MetadataAttributeAttribute]
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false)]
public class ExportTestConditionAttribute : ExportStandardMetadataAttribute
[MetadataAttributeAttribute]
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = false)]
public ref class ExportTestConditionAttribute : ExportStandardMetadataAttribute
[<MetadataAttributeAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false)>]
type ExportTestConditionAttribute =
class
inherit ExportStandardMetadataAttribute
end
<MetadataAttributeAttribute>
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False)>
Public Class ExportTestConditionAttribute
Inherits ExportStandardMetadataAttribute
Constructors
Name | Description | |
---|---|---|
ExportTestConditionAttribute(String, String) | Initializes a new instance of the ExportTestConditionAttribute class. |
|
ExportTestConditionAttribute(String, Type) | Initializes a new instance of the ExportTestConditionAttribute class. |
Properties
Name | Description | |
---|---|---|
ContractName | (Inherited from ExportAttribute.) |
|
ContractType | (Inherited from ExportAttribute.) |
|
DisplayName | (Inherited from ExportStandardMetadataAttribute.) |
|
Id | (Inherited from ExportStandardMetadataAttribute.) |
|
PlatformCompatibility | (Inherited from ExportStandardMetadataAttribute.) |
|
TypeId | (Inherited from Attribute.) |
|
Version | (Inherited from ExportStandardMetadataAttribute.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Attribute.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Attribute.) |
|
GetType() | (Inherited from Object.) |
|
IsDefaultAttribute() | (Inherited from Attribute.) |
|
Match(Object) | (Inherited from Attribute.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
|
_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
|
_Attribute.GetTypeInfoCount(UInt32) | (Inherited from Attribute.) |
|
_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) | (Inherited from Attribute.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions Namespace
Return to top