12 packages returned for Tags:"Guards"

Package type
Sort by
This library provides guard clauses that could be used to guard against not expected values. It provides conditions for objects, strings, numerics, datatime and enumerables. It is possible to configure which exception should be thrown.
A flexible, simple, and powerful way to validate and guard your data. It provides a variety of user-defined validators that allow you to use LINQ to validate your data, in addition to hundreds of built-in validators. And it allows you to write your own custom validators and use them in your project... More information
This Guard utility makes it easy to validate arguments of public methods for null values or specific conditions. It is one of the fundamentals in C# programming as enforced by static code analysis (CA1062).