Method | 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.
|
Method | 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 | ||
return | 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. |
return | 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. |
return | System.Collections.Generic |
protected OnInvalid ( object validationContext, object>.IDictionary |
||
validationContext | object | Validation context. |
contextParams | object>.IDictionary | Additional context parameters. |
errors | IValidationErrors | Validation errors container. |
return | void |
protected OnValid ( object validationContext, object>.IDictionary |
||
validationContext | object | Validation context. |
contextParams | object>.IDictionary | Additional context parameters. |
errors | IValidationErrors | Validation errors container. |
return | void |