Delen via


ExportTestConditionAttribute Constructor (String, Type)

 

Initializes a new instance of the ExportTestConditionAttribute class.

Namespace:   Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions
Assembly:  Microsoft.Data.Tools.Schema.Sql.UnitTesting (in Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll)

Syntax

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
)

Parameters

  • displayName
    Type: System.String

    Name to display to users when selecting the condition.

  • implementingType
    Type: System.Type

    The Concrete type that extends TestCondition. This is used to generate the unique Id for this TestCondition Export.

See Also

ExportTestConditionAttribute Overload
ExportTestConditionAttribute Class
Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions Namespace

Return to top