|
OpenTAP 9.34
API Reference
|
Collection of validation rules. Simplifies adding new rules by abstracting the use of ValidationRule objects. More...
Public Member Functions | |
| void | Add (IsValidDelegateDefinition isValid, string errorMessage, string propertyName) |
| Add a new rule to the collection. | |
| void | Add (IsValidDelegateDefinition isValid, string errorMessage) |
| This overload of ValidationRuleCollection.Add should not be used. This placeholder method is added to provide a warning. | |
| void | Add (IsValidDelegateDefinition isValid, CustomErrorDelegateDefinition errorDelegate, string propertyName) |
| Adds a new rule to the collection. | |
| void | Add (IsValidDelegateDefinition isValid, string errorMessage, params string[] propertyNames) |
| Add a new rule to the collection for multiple properties. Internally a new rule is created for each property. | |
| void | Add (IsValidDelegateDefinition isValid, CustomErrorDelegateDefinition errorDelegate, params string[] propertyNames) |
| Adds a new rule to the collection. | |
Collection of validation rules. Simplifies adding new rules by abstracting the use of ValidationRule objects.
|
inline |
Adds a new rule to the collection.
| isValid | |
| errorDelegate | |
| propertyNames | Names of the properties it affects. |
|
inline |
Adds a new rule to the collection.
| isValid | |
| errorDelegate | |
| propertyName |
|
inline |
This overload of ValidationRuleCollection.Add should not be used. This placeholder method is added to provide a warning.
| isValid | Rule checking function. |
| errorMessage | Error if rule checking function returns false. |
|
inline |
Add a new rule to the collection for multiple properties. Internally a new rule is created for each property.
| isValid | Rule checking function. |
| errorMessage | Error if rule checking function returns false. |
| propertyNames | Names of the properties it affects. |
|
inline |
Add a new rule to the collection.
| isValid | Rule checking function. |
| errorMessage | Error if rule checking function returns false. |
| propertyName | Name of the property it affects. |
OpenTAP 9.34 API built Wed Jul 1 2026 09:21:15