RuleSet Members
In This Article
#Constructors
Name | Description |
---|---|
Rule |
Initializes a new instance of the Rule |
Rule |
Initializes a new instance of the Rule |
Rule |
Initializes a new instance of the Rule |
#Fields
Name | Description |
---|---|
Enable |
Specifies if the Validation Module caches Rule values. |
Non |
#Properties
Name | Description |
---|---|
Enable |
Specifies whether all new rules are collected before the Rule |
Ignore |
Specifies whether or not the Validation |
Need |
Specifies whether or not the Rule |
Registered |
Specifies a list of rules registered in the Rule |
Registered |
Specifies a list of rule sources registered in the current Rule |
#Methods
Name | Description |
---|---|
Clear() |
Clears the Rule |
Drop |
Drops the Rule cache for all persistent Rule Sources. |
Equals |
Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals |
Determines whether the specified object is equal to the current object. Inherited from Object. |
Find |
Returns a rule by its ID. |
Get |
Returns an enumerator that iterates through a collection of rules. |
Get |
Serves as the default hash function. Inherited from Object. |
Get |
Returns a list of all rules registered in the Rule |
Get |
Returns a list of rules that belongs to the current Rule |
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. |
Get |
Gets the Type of the current instance. Inherited from Object. |
Is |
Determines whether or not the validation rule’s target property value is considered empty. |
Is |
Determines whether or not the validation rule’s target property value is considered empty. |
Is |
|
Is |
|
Memberwise |
Creates a shallow copy of the current Object. Inherited from Object. |
Need |
Checks if the rule is marked to be validated. |
Need |
Checks if the rule is marked to be validated. |
On |
|
Reference |
Determines whether the specified Object instances are the same instance. Inherited from Object. |
Register |
Adds validation rules of the class given as a parameter to the Rule |
Set |
|
To |
Returns a string that represents the current object. Inherited from Object. |
Validate |
Validates an object against the Rule |
Validate |
Validates an object against Rule |
Validate |
Validates multiple objects against Rule |
Validate |
Validates multiple objects against Rule |
Validate |
Silently (without raising the Rule |
Validate |
Silently (without raising the Rule |
Validate |
Checks a rule on a target and returns a result. |
Validate |
Silently validates an object (without raising the Rule |
Validate |
#Events
Name | Description |
---|---|
Custom |
Occurs when the Rule |
Custom |
|
Custom |
Occurs when the validation system determines whether or not a rule should be validated. |
Custom |
Occurs when a rule is being validated. |
Rule |
Occurs after the validation of a rule is complete. |
Validation |
Occurs after validation of an entire Rule |
See Also