RuleBase Members
In This Article
#Constructors
Name | Description |
---|---|
Rule |
Initializes a new instance of the Rule |
Rule |
Initializes a new instance of the Rule |
#Fields
#Properties
Name | Description |
---|---|
Default |
Specifies the default additional text displayed when the Validation Rule applied to a collection property is broken. |
Default |
Specifies the default template for the message displayed when the Validation Rule was not checked because one of the target property values is null or empty. |
Default |
Specifies the default template for the message displayed when the Validation Rule was not checked because the validated object is not an element of the target collection. |
Default |
Specifies the default template for the message displayed when the Validation Rule was not checked because the criteria specified by the Rule |
Id | Returns the identifier of the current Validation Rule. |
Properties | Represents the Validation Rule’s properties exported to the Application Model. |
Properties |
Specifies the type of the Validation Rule Properties class used by the Validation Rule. |
Target |
Specifies the object currently being validated by the Validation Rule. |
Used |
Specifies the names of the properties to be highlighted when the current Validation Rule is broken. |
#Methods
Name | Description |
---|---|
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. |
Get |
Serves as the default hash function. Inherited from Object. |
Get |
|
Get |
Gets the Type of the current instance. Inherited from Object. |
Get |
|
Get |
For internal use. |
Memberwise |
Creates a shallow copy of the current Object. Inherited from Object. |
Reference |
Determines whether the specified Object instances are the same instance. Inherited from Object. |
To |
Returns a string that represents the current object. Inherited from Object. |
Validate |
Checks that a particular object satisfies the Validation Rule. |
#Events
Name | Description |
---|---|
Custom |
Occurs when the validation result message is being formatted. |
See Also