Guardian 0.5.0

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Guardian --version 0.5.0
NuGet\Install-Package Guardian -Version 0.5.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Guardian" Version="0.5.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Guardian --version 0.5.0
#r "nuget: Guardian, 0.5.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Guardian as a Cake Addin
#addin nuget:?package=Guardian&version=0.5.0

// Install Guardian as a Cake Tool
#tool nuget:?package=Guardian&version=0.5.0

Guardian. Mostly of null values.
An unobtrusive, lightweight, guard clause source code package: less than 300 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.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.6.0-beta26 67 3/1/2015
0.5.0 218 7/27/2013
0.4.0 48 6/16/2013
0.3.3 48 6/2/2013
0.3.1 47 5/31/2013

Complete re-write of IL parsing for expression parsing.
Added DebuggerStepThrough to Against property getter.
Fixed bug where generic argument expressions don't always parse.