A simple guard library for validating method parameters without being a complete validation library.
This library makes it easy to validate method arguments in a uniform way.
Cauldron.Consoles is a Cauldron.Core based parameter parser which supports grouping of parameters in execution groups. It is also supports localization and has a nice parameter table :)
Breaking changes in 3.1.x - See https://github.com/Capgemini/Cauldron for more information.
Adds ability to support aliases for model binding. Set action parameter to "product" and place "productid" on querystring. i.e. public ActionResult Index([Alias("pid"]Product product) ... add global filter ... filters.Add(new AliasInitializer());
A simply arguments validation library with fluent API.
Examples:
Arg.NotNull(() => model);
Arg.Validate(color, nameof(color))
.NotNullOrWhitespace()
.LengthInRange(2, 20);
// passangerCount is Nullable type...
More information