Skip to content

Ramkarthik/ZValidation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZValidation

Simple, fast, and extensible validation library for .NET.

Note: This is still in very early stages and is not ready for production use.

Example

using ZValidation;

var user = new Users();

// Initialize zvalidation
var validation = new ZValidation<Users>();

// Add the validations
validation.For(x => x.FirstName).Required();
validation.For(x => x.LastName).Required().LengthMax(100);

// Check the validation response
bool isSuccess = validation.IsSuccessful;
ZResponse response = validation.Response;
List<string> = validation.Response.Errors;

About

Simple, fast, and extensible validation library for .NET.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages