Méthode | Description | |
---|---|---|
BaseSimpleValidator ( ) : System.Collections.Generic |
Creates a new instance of the validator without any Test and BaseValidator.When criteria
|
|
BaseSimpleValidator ( IExpression test, IExpression when ) : System.Collections.Generic |
Creates a new instance of the BaseValidator class.
|
|
BaseSimpleValidator ( string test, string when ) : System.Collections.Generic |
Creates a new instance of the BaseValidator class.
|
|
Validate ( object validationContext, object>.IDictionary |
Validates the specified object.
|
Méthode | Description | |
---|---|---|
EvaluateTest ( object rootContext, object>.IDictionary |
Evaluates test expression.
|
|
Validate ( object objectToValidate ) : bool |
Validates test object.
|
public BaseSimpleValidator ( ) : System.Collections.Generic | ||
Résultat | System.Collections.Generic |
public BaseSimpleValidator ( IExpression test, IExpression when ) : System.Collections.Generic | ||
test | IExpression | The expression to validate. |
when | IExpression | The expression that determines if this validator should be evaluated. |
Résultat | System.Collections.Generic |
public BaseSimpleValidator ( string test, string when ) : System.Collections.Generic | ||
test | string | The expression to validate. |
when | string | The expression that determines if this validator should be evaluated. |
Résultat | System.Collections.Generic |
protected EvaluateTest ( object rootContext, object>.IDictionary |
||
rootContext | object | Root context to use for expression evaluation. |
contextParams | object>.IDictionary | Additional context parameters. |
Résultat | object |
protected abstract Validate ( object objectToValidate ) : bool | ||
objectToValidate | object | Object to validate. |
Résultat | bool |
public Validate ( object validationContext, object>.IDictionary |
||
validationContext | object | The object to validate. |
contextParams | object>.IDictionary | Additional context parameters. |
errors | IValidationErrors | |
Résultat | bool |