A "semi" flent way to add data annotations to a class
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Properties
Tests
.gitattributes
.gitignore
AttributeConfiguration.cs
AttributeProvider.cs
AttributeTypeDescriptor.cs
ExtensionMethods.cs
IAttributeConfiguration.cs
IObjectValidations.cs
IPropertyValidations.cs
LICENSE.md
NHail.ComponentModel.DataAnnotations.Fluent.csproj
NHail.ComponentModel.DataAnnotations.Fluent.sln
ObjectValidations.cs
ObjectValidationsExtensions.cs
ProjectionEqualityComparer.cs
PropertyValidations.cs
PropertyValidationsExtensions.cs
README.md
ValidatableObjectAttribute.cs
ValidateIfAttribute.cs

README.md

NHail.ComponentModel.DataAnnotations.Fluent

A way to configure validation attributes at runtime

Getting Started

Just need to add a refrence to NHail.ComponentModel.DataAnnotations.Fluent. Main entry is the IAttributeConfiguration.
See my blog http://www.nhail.com/validations/fluent-ish-validations-part-one-the-problem/ for more info on this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details