ExportTestConditionAttribute 构造函数 (String, Type)

 

初始化 ExportTestConditionAttribute 类的新实例。

命名空间:   Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions
程序集:  Microsoft.Data.Tools.Schema.Sql.UnitTesting(Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll 中)

语法

public ExportTestConditionAttribute(
    string displayName,
    Type implementingType
)
public:
ExportTestConditionAttribute(
    String^ displayName,
    Type^ implementingType
)
new : 
        displayName:string *
        implementingType:Type -> ExportTestConditionAttribute
Public Sub New (
    displayName As String,
    implementingType As Type
)

参数

  • displayName
    Type: System.String

    选择该条件时,将向用户显示名称。

  • implementingType
    Type: System.Type

    扩展 TestCondition 的具体类型。该条件用于为该 TestCondition 导出生成唯一 ID。

请参阅

ExportTestConditionAttribute 重载
ExportTestConditionAttribute 类
Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions 命名空间

返回页首