Method | Description | |
---|---|---|
BaseValidationAction ( ) : System |
Initializes a new instance of the BaseValidationAction class.
|
|
Execute ( bool isValid, object validationContext, object>.IDictionary |
Executes the action.
|
Method | Description | |
---|---|---|
EvaluateWhen ( object rootContext, object>.IDictionary |
Evaluates 'when' expression.
|
|
OnInvalid ( object validationContext, object>.IDictionary |
Called when associated validator is not valid.
|
|
OnValid ( object validationContext, object>.IDictionary |
Called when associated validator is valid.
|
protected EvaluateWhen ( object rootContext, object>.IDictionary |
||
rootContext | object | Root context to use for expression evaluation. |
contextParams | object>.IDictionary | Additional context parameters. |
return | bool |
public Execute ( bool isValid, object validationContext, object>.IDictionary |
||
isValid | bool | Whether associated validator is valid or not. |
validationContext | object | Validation context. |
contextParams | object>.IDictionary | Additional context parameters. |
errors | IValidationErrors | Validation errors container. |
return | void |
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 |