Méthode | Description | |
---|---|---|
ExpressionAction ( ) : System.Collections.Generic |
Initializes a new instance of the ExpressionAction class.
|
|
ExpressionAction ( IExpression onValid, IExpression onInvalid ) : System.Collections.Generic |
Initializes a new instance of the ExpressionAction class.
|
|
ExpressionAction ( string onValid, string onInvalid ) : System.Collections.Generic |
Initializes a new instance of the ExpressionAction class.
|
Méthode | Description | |
---|---|---|
OnInvalid ( object validationContext, object>.IDictionary |
Called when associated validator is invalid.
|
|
OnValid ( object validationContext, object>.IDictionary |
Called when associated validator is valid.
|
public ExpressionAction ( ) : System.Collections.Generic | ||
Résultat | System.Collections.Generic |
public ExpressionAction ( IExpression onValid, IExpression onInvalid ) : System.Collections.Generic | ||
onValid | IExpression | Expression to execute when validator is valid. |
onInvalid | IExpression | Expression to execute when validator is not valid. |
Résultat | System.Collections.Generic |
public ExpressionAction ( string onValid, string onInvalid ) : System.Collections.Generic | ||
onValid | string | Expression to execute when validator is valid. |
onInvalid | string | Expression to execute when validator is not valid. |
Résultat | System.Collections.Generic |
protected OnInvalid ( object validationContext, object>.IDictionary |
||
validationContext | object | Validation context. |
contextParams | object>.IDictionary | Additional context parameters. |
errors | IValidationErrors | Validation errors container. |
Résultat | void |
protected OnValid ( object validationContext, object>.IDictionary |
||
validationContext | object | Validation context. |
contextParams | object>.IDictionary | Additional context parameters. |
errors | IValidationErrors | Validation errors container. |
Résultat | void |