135 packages returned for Tags:"Argument"

Package type
Sort by
Guard and Validator library. Example: Guard.That(arg1).IsNotNull().GreaterThan(100); Throws an exception if conditions are not met. Supports the ability to get a list of the failed conditions.
.NET Core 2.0 & Standard 2.0 port of A simple guard clause project helping you with validation and uniformed exception throwing when validating arguments.
Argument validation methods, for example: this.user = Argument.NotNull("user", user). Less fancy than approaches based on lambdas/anonymous classes, but less scary performance-wise (given that argument checks are often all over the place). Annotations: C# 8 nullable reference types, ReSharper,... More information
The ultimate .NET command line parser - PowerArgs converts command line arguments into .NET objects that are easy to program against. It also provides a ton of additional, optional capabilities that you can try such as argument validation, auto generated usage documentation, tab completion, Entity... More information
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.