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