다음을 통해 공유


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

생성자

이름 설명
System_CAPS_pubmethod ExportTestConditionAttribute(String, String)

ExportTestConditionAttribute 클래스의 새 인스턴스를 초기화합니다.

System_CAPS_pubmethod ExportTestConditionAttribute(String, Type)

ExportTestConditionAttribute 클래스의 새 인스턴스를 초기화합니다.

속성

이름 설명
System_CAPS_pubproperty ContractName

(ExportAttribute에서 상속됨.)

System_CAPS_pubproperty ContractType

(ExportAttribute에서 상속됨.)

System_CAPS_pubproperty DisplayName

(ExportStandardMetadataAttribute에서 상속됨.)

System_CAPS_pubproperty Id

(ExportStandardMetadataAttribute에서 상속됨.)

System_CAPS_pubproperty PlatformCompatibility

(ExportStandardMetadataAttribute에서 상속됨.)

System_CAPS_pubproperty TypeId

(Attribute에서 상속됨.)

System_CAPS_pubproperty Version

(ExportStandardMetadataAttribute에서 상속됨.)

메서드

이름 설명
System_CAPS_pubmethod Equals(Object)

(Attribute에서 상속됨.)

System_CAPS_protmethod Finalize()

(Object에서 상속됨.)

System_CAPS_pubmethod GetHashCode()

(Attribute에서 상속됨.)

System_CAPS_pubmethod GetType()

(Object에서 상속됨.)

System_CAPS_pubmethod IsDefaultAttribute()

(Attribute에서 상속됨.)

System_CAPS_pubmethod Match(Object)

(Attribute에서 상속됨.)

System_CAPS_protmethod MemberwiseClone()

(Object에서 상속됨.)

System_CAPS_pubmethod ToString()

(Object에서 상속됨.)

명시적 인터페이스 구현

이름 설명
System_CAPS_pubinterfaceSystem_CAPS_privmethod _Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

(Attribute에서 상속됨.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod _Attribute.GetTypeInfo(UInt32, UInt32, IntPtr)

(Attribute에서 상속됨.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod _Attribute.GetTypeInfoCount(UInt32)

(Attribute에서 상속됨.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod _Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

(Attribute에서 상속됨.)

스레드로부터의 안전성

이 형식의 모든 public static (Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.

참고 항목

Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions 네임스페이스

맨 위로 이동