ValidationResult - Parametric/Simple.Validation GitHub Wiki
IValidator returns an Enumerable of ValidationResults. Each validation result has some useful properties.
Property Name | Description | Default Value |
---|---|---|
PropertyName | The name of the property being validated. Can be null. | |
Type | This is a field for an arbitrary result type. It is not required. | |
Severity | Error, Warning, or Informational | Error |
Message | A message indicating the nature of the result | Empty string |
Context | The object that was validated | null |