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.
Install-Package Guards.NET -Version 1.3.0
dotnet add package Guards.NET --version 1.3.0
<PackageReference Include="Guards.NET" Version="1.3.0" />
paket add Guards.NET --version 1.3.0
- Conditions.NET (>= 1.2.0)
This package is not used by any popular GitHub repositories.