Method | Description | |
---|---|---|
AddError ( string memberName, string errorMessage ) : void |
Adds a validation error.
|
|
AddErrors ( IEnumerable |
Adds a number of validation errors.
|
|
ValidationContext ( ) : System.Collections.Generic |
Default constructor. Creates a new ValidationContext with no errors.
|
public AddError ( string memberName, string errorMessage ) : void | ||
memberName | string | The member that has caused validation to fail. |
errorMessage | string | The validation error message. |
return | void |
public AddErrors ( IEnumerable |
||
errors | IEnumerable |
The list of |
return | void |
public ValidationContext ( ) : System.Collections.Generic | ||
return | System.Collections.Generic |