LiteX.Guard is a simple guard clause argument validation library, that helps you with validation of your arguments. A simple package with guard clause helper methods. 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. Argument validation made simple and unified. It ensures arguments conforms to simple validation rules and provides an uniformed exception throwing strategy if arguments are invalid.
$ dotnet add package LiteX.GuardNo README available.