./nugetz

FluentValidationGuardv1.6.0

docs d<> code .compare c
.NET Std2.0

Validate you input! public static void Example(string name, int age) { try { Validator .Begin(name, nameof(name)) .NotNull() .NotWhiteSpace() .Map(age, nameof(age)) .IsGreaterOrEquals(18) .TrowIfHasErrors(nameof(ErrorConverter), nameof(Example)); } catch (ValidationException e) { Console.WriteLine(e); IErrorConverter converter = new ErrorConverter(); var errors = converter.Convert(e); Console.WriteLine(errors); } }

License

View license

Deps

2

Install Size

Vulns

✓ 0

Published

Mar 27, 2020

Get Started

$ dotnet add package FluentValidationGuard

Readme

No README available.