Méthode | Description | |
---|---|---|
ValidateAttributes ( IEnumerable |
Validation collection attribute based on attribute test builder.
|
|
ValidateNoAttributes ( IEnumerable |
Validates whether the provided collection of attributes contains zero elements.
|
|
ValidateNumberOfAttributes ( IEnumerable |
Validates if any attributes are contained in the provided collection of attributes.
|
public static ValidateAttributes ( IEnumerable | ||
attributes | IEnumerable | Collection of attributes to validate. |
attributesTestBuilder | BaseAttributesTestBuilder | Test builder containing attribute specific validation. |
failedValidationAction | string>.Action | Action to call in case of failed validation. |
Résultat | void |
public static ValidateNoAttributes ( IEnumerable | ||
attributes | IEnumerable | Collection of attributes to validate. |
failedValidationAction | string>.Action | Action to call in case of failed validation. |
Résultat | void |
public static ValidateNumberOfAttributes ( IEnumerable | ||
attributes | IEnumerable | Collection of attributes to validate. |
failedValidationAction | string>.Action | Action to call in case of failed validation. |
withTotalNumberOf | int | Optional parameter specifying the exact number of expected attributes. |
Résultat | void |