Method | Description | |
---|---|---|
Validate ( |
||
ValidateAsync ( |
Method | Description | |
---|---|---|
CreateValidationError ( |
Creates an error validation result for this validator.
|
|
IsValid ( |
||
IsValidAsync ( |
||
PrepareMessageFormatterForValidationError ( |
Prepares the MessageFormatter of context for an upcoming ValidationFailure.
|
|
PropertyValidator ( Expression |
||
PropertyValidator ( string errorMessage ) : System.Threading | ||
PropertyValidator ( string errorMessageResourceName, |
Method | Description | |
---|---|---|
BuildErrorMessage ( |
protected CreateValidationError ( |
||
context | The validator context | |
return | ValidationFailure |
protected abstract IsValid ( |
||
context | ||
return | bool |
protected IsValidAsync ( |
||
context | ||
cancellation | CancellationToken | |
return | Task |
protected PrepareMessageFormatterForValidationError ( |
||
context | The validator context | |
return | void |
protected PropertyValidator ( Expression |
||
errorMessageResourceSelector | Expression |
|
return | System.Threading |
protected PropertyValidator ( string errorMessage ) : System.Threading | ||
errorMessage | string | |
return | System.Threading |
protected PropertyValidator ( string errorMessageResourceName, |
||
errorMessageResourceName | string | |
errorMessageResourceType | ||
return | System.Threading |
public Validate ( |
||
context | ||
return | IEnumerable |
public ValidateAsync ( |
||
context | ||
cancellation | CancellationToken | |
return | Task |