IRuleSet Members
In This Article
#Properties
Name | Description |
---|---|
Enable |
Specifies whether all new rules are collected before the IRule |
Ignore |
Specifies whether or not the ValidationWarning and ValidationInformation rule validation result types are ignored (see IRule |
Registered |
Adds validation rules of the class given as a parameter to the IRule |
Registered |
Specifies a list of rule sources registered in the current IRule |
#Methods
Name | Description |
---|---|
Drop |
Drops the Rule cache for all persistent Rule Sources. |
Find |
Returns a rule by its ID. |
Get |
Returns a list of all rules registered in the IRule |
Get |
Returns a list of rules that belongs to the current IRule |
Get |
Returns a list of all rules that belong to the objects listed in a parameter. |
Get |
Returns a list of all rules for the given object and validation contexts. |
Get |
Returns a list of all rules that belong to the object specified in a parameter. |
Get |
Returns a list of rules for the given type and validation contexts. |
Register |
Specifies a list of rules registered in the IRule |
Validate |
Validates an object against the IRule ‘s rules with the given validation contexts. If validation fails, the Validationvalidation parameter is called.
|
Validate |
Validates an object against the IRule ‘s rules with the given validation contexts. Throws a Validation |
Validate |
Validates multiple objects against Rule rules with the given validation contexts. If validation fails, the Validationvalidation parameter is called.
|
Validate |
Validates multiple objects against IRule ‘s rules with the given validation contexts. Throws a Validation |
Validate |
Silently (without raising the Rule |
Validate |
Silently (without raising the Rule |
Validate |
Silently validates an object (without raising the Rule |
Validate |
Silently validates an object (without raising the Rule |
#Events
Name | Description |
---|---|
Validation |
Occurs after validation of an entire IRule |
See Also