메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | 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. |
리턴 | 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. |
리턴 | System.Collections.Generic |
protected OnInvalid ( object validationContext, object>.IDictionary |
||
validationContext | object | Validation context. |
contextParams | object>.IDictionary | Additional context parameters. |
errors | IValidationErrors | Validation errors container. |
리턴 | void |
protected OnValid ( object validationContext, object>.IDictionary |
||
validationContext | object | Validation context. |
contextParams | object>.IDictionary | Additional context parameters. |
errors | IValidationErrors | Validation errors container. |
리턴 | void |