ExportTestConditionAttribute 클래스
TestCondition을 구현하는 구체적 클래스는 해당 클래스 정의에 ExportTestConditionAttribute 특성을 추가해야 합니다.그러면 SQL Server 단위 테스트 디자이너에서 해당 클래스가 검색되어 사용 가능한 테스트 조건 집합에 추가됩니다.
네임스페이스: Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions
어셈블리: Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll의 Microsoft.Data.Tools.Schema.Sql.UnitTesting
상속 계층 구조
System.Object
System.Attribute
System.ComponentModel.Composition.ExportAttribute
Microsoft.SqlServer.Dac.Extensibility.ExportStandardMetadataAttribute
Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExportTestConditionAttribute
구문
[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
생성자
이름 | 설명 | |
---|---|---|
ExportTestConditionAttribute(String, String) | ExportTestConditionAttribute 클래스의 새 인스턴스를 초기화합니다. |
|
ExportTestConditionAttribute(String, Type) | ExportTestConditionAttribute 클래스의 새 인스턴스를 초기화합니다. |
속성
이름 | 설명 | |
---|---|---|
ContractName | (ExportAttribute에서 상속됨.) |
|
ContractType | (ExportAttribute에서 상속됨.) |
|
DisplayName | (ExportStandardMetadataAttribute에서 상속됨.) |
|
Id | (ExportStandardMetadataAttribute에서 상속됨.) |
|
PlatformCompatibility | (ExportStandardMetadataAttribute에서 상속됨.) |
|
TypeId | (Attribute에서 상속됨.) |
|
Version | (ExportStandardMetadataAttribute에서 상속됨.) |
메서드
이름 | 설명 | |
---|---|---|
Equals(Object) | (Attribute에서 상속됨.) |
|
Finalize() | (Object에서 상속됨.) |
|
GetHashCode() | (Attribute에서 상속됨.) |
|
GetType() | (Object에서 상속됨.) |
|
IsDefaultAttribute() | (Attribute에서 상속됨.) |
|
Match(Object) | (Attribute에서 상속됨.) |
|
MemberwiseClone() | (Object에서 상속됨.) |
|
ToString() | (Object에서 상속됨.) |
명시적 인터페이스 구현
스레드로부터의 안전성
이 형식의 모든 public static (Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.
참고 항목
Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions 네임스페이스
맨 위로 이동