Guardian 0.4.0
See the version list below for details.
dotnet add package Guardian --version 0.4.0
NuGet\Install-Package Guardian -Version 0.4.0
<PackageReference Include="Guardian" Version="0.4.0" />
paket add Guardian --version 0.4.0
#r "nuget: Guardian, 0.4.0"
// Install Guardian as a Cake Addin #addin nuget:?package=Guardian&version=0.4.0 // Install Guardian as a Cake Tool #tool nuget:?package=Guardian&version=0.4.0
Guardian. Mostly of null values.
An unobtrusive, lightweight, guard clause source code package: less than 200 lines of code.
Should be used like this:
Guard.Against.Null(() => parameter);
May be extended like this:
Guard.Against.Empty(() => collection);
Possibly the best tool for the job. Providing the job is simple.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Guardian:
Package | Downloads |
---|---|
Guardian.Extensions
Provides extension methods for the Guardian source code package. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.7.0 | 9,802 | 4/24/2016 |
0.7.0-beta70 | 1,290 | 4/24/2016 |
0.6.0-beta26 | 1,529 | 3/1/2015 |
0.5.0 | 2,217 | 7/27/2013 |
0.4.0 | 1,712 | 6/16/2013 |
0.3.3 | 1,517 | 6/2/2013 |
0.3.1 | 1,508 | 5/31/2013 |
Added portable class library version
Fixed bug where expression parsing would throw an exception
Added .NET Framework assembly reference for System.dll
Changed the exception type from ArgumentNullException to ArgumentException that is thrown when the expression cannot be parsed