This library aims to replace the static Validator and offer extended functionality:
- Supports full object validation using attributes and the IValidateObject.Validate method. Other than the .NET Validator, the Validate method will always be evaluated, even when errors are found during attribute-based validation. This allows to mix the attribute and IValidatableObject base mechanisms.
- Supports errors, warnings, and missing property values.
- Not static: The validator implements an interface, that can be exchanged in tests.
- Easy usage: No creating and passing of ValidationContexts etc. One call thats all.
If you want to visualize the validation results on a Windows Forms user control check out the BindingSourceValidator.