Why, it's lighter than air! The guard clause library which stands out from the crowd like the faintest passing whisper. You'll hardly know it's there!
We all have to do our bit in working toward the ultimate number of published guard clause libraries which, at current estimates, is somewhere in the region of 6.02214129(27) × 10^23.
The aim of LiteGuard is to be the most simple, unambiguous and lightweight guard clause library available. See the project site for details.
This is the LiteGuard source code package. LiteGuard is also available as a binary package named 'LiteGuard'. If your project is an application or library which is not packaged and/or exported for use in other solutions then the binary package is usually the best choice. If you are writing a library which is packaged and/or exported for use in other solutions then the source code package is usually the best choice.
After installing this package you may change the source code as required to match your coding conventions.
See the version list below for details.
Install-Package LiteGuard.Source -Version 0.5.0
dotnet add package LiteGuard.Source --version 0.5.0
<PackageReference Include="LiteGuard.Source" Version="0.5.0" />
paket add LiteGuard.Source --version 0.5.0
Enhancement: Add source code package - https://github.com/liteguard/liteguard/issues/5/
This package has no dependencies.
Showing the top 3 GitHub repositories that depend on LiteGuard.Source:
Write your .NET configuration files in C#
✖ An xUnit.net extension for describing each step in a test with natural language.
The C# task runner