Method | Description | |
---|---|---|
ValidationResult ( IEnumerable |
Initializes a new ValidationResult instance.
|
|
ValidationResult ( bool hasErrors ) : System.Collections.Generic |
Initializes a new ValidationResult instance.
|
|
ValidationResult ( string error ) : System.Collections.Generic |
Initializes a new ValidationResult instance.
|
public ValidationResult ( IEnumerable |
||
errors | IEnumerable |
A list of all the errors that occurred. |
return | System.Collections.Generic |
public ValidationResult ( bool hasErrors ) : System.Collections.Generic | ||
hasErrors | bool | Determines whether there is a validation error or not. |
return | System.Collections.Generic |
public ValidationResult ( string error ) : System.Collections.Generic | ||
error | string | The error that has occurred. |
return | System.Collections.Generic |