Why, it's lighter than air!
The aim of LiteGuard is to be the most simple, unambiguous and lightweight guard clause library available.
Compatible with .NET 3.5, Mono 2.10.8, Windows Store 8, Silverlight 4 and Windows Phone 7 (or later versions of each).
This is the LiteGuard source code package. Also available as a binary package (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.
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.
See the version list below for details.
Requires NuGet 2.8 or higher.
Install-Package LiteGuard.Source -Version 0.8.0
dotnet add package LiteGuard.Source --version 0.8.0
<PackageReference Include="LiteGuard.Source" Version="0.8.0" />
paket add LiteGuard.Source --version 0.8.0
A minor release which changes the source code package to install as a development dependency by default.
New: Change source code package to install as a development dependency - https://github.com/liteguard/liteguard/issues/73/
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