Skip to content

felixalmesberger/Validation

Repository files navigation

logo logo

Extended Valdidation for .NET & Windows Forms

This library aims to replace the static Validator and offer extended functionality:

  1. 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.
  2. Supports errors, warnings, and missing property values.
  3. Not static: The validator implements an interface, that can be exchanged in tests.
  4. Easy usage: No creating and passing of ValidationContexts etc. One call thats all.

more info

UI Visualization

If you want to visualize the validation results on a Windows Forms user control check out the BindingSourceValidator.

sample

more info

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published