Constructor ConditionalIgnoreAttribute
ConditionalIgnoreAttribute(string, string)
Initializes a new instance of the ConditionalIgnoreAttribute class with a condition key.
Declaration
public ConditionalIgnoreAttribute(string conditionKey, string ignoreReason)
Parameters
Type | Name | Description |
---|---|---|
string | conditionKey | The key to check for enabling the conditional ignore. The condition is set with the static AddConditionalIgnoreMapping(string, bool) method. |
string | ignoreReason | The reason for the ignore. |