IValidationResult¶
Contract for an aggregate validation outcome, implemented by ValidationResult and referenced by SaifValidationException.
Purpose¶
- Contract for an aggregate validation outcome, implemented by
ValidationResultand referenced bySaifValidationException.
Context¶
- Namespace:
SAIF.Common - Assembly/package:
SAIF.Framework.Common
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| Errors | IList<ValidationFailure> Errors { get; } |
The collected field-level validation failures. |
| Messages | IList<string> Messages { get; } |
Free-text validation messages. |
| IsValid | bool IsValid { get; } |
Whether the validated subject currently has no failures. |
Sources¶
Common/SAIF.Common/Interfaces/IValidationResult.cs