Méthode | Description | |
---|---|---|
Invoke ( ) : bool |
Invokes the rule to validate the data.
|
|
ToString ( ) : string |
Returns a text representation of the rule which is the RuleName.
|
|
ValidationRuleInfo ( object target, ValidationRuleHandler handler, |
Creates and initializes the rule.
|
|
ValidationRuleInfo ( object target, ValidationRuleHandler handler, string propertyName ) : System |
Creates and initializes the rule.
|
public ValidationRuleInfo ( object target, ValidationRuleHandler handler, |
||
target | object | Object reference containing the data to validate. |
handler | ValidationRuleHandler | The address of the method implementing |
args | A |
|
Résultat | System |
public ValidationRuleInfo ( object target, ValidationRuleHandler handler, string propertyName ) : System | ||
target | object | Object reference containing the data to validate. |
handler | ValidationRuleHandler | The address of the method implementing |
propertyName | string | The name of the property to which the rule applies. |
Résultat | System |