메소드 | 설명 | |
---|---|---|
ExceptionAction ( ) : System |
Initializes a new instance of the ExceptionAction class.
|
|
ExceptionAction ( IExpression throwsExpression ) : System |
Initializes a new instance of the ExceptionAction class with an expression that defines the exception to throw.
|
|
ExceptionAction ( string exceptionExpression ) : System |
Initializes a new instance of the ExceptionAction class.
|
메소드 | 설명 | |
---|---|---|
OnInvalid ( object validationContext, object>.IDictionary |
Called when associated validator is invalid.
|
public ExceptionAction ( IExpression throwsExpression ) : System | ||
throwsExpression | IExpression | |
리턴 | System |
public ExceptionAction ( string exceptionExpression ) : System | ||
exceptionExpression | string | Expression that defines the exception to throw when the validator is not valid. |
리턴 | System |
protected OnInvalid ( object validationContext, object>.IDictionary |
||
validationContext | object | Validation context. |
contextParams | object>.IDictionary | Additional context parameters. |
errors | IValidationErrors | Validation errors container. |
리턴 | void |