Info
Version: | 0.7.0 |
Author(s): | Cameron Fletcher, Guardian contributors |
Last Update: | Sunday, April 24, 2016 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/cameronfletcher/guardian/wiki |
NuGet Url: | https://www.nuget.org/packages/Guardian |
Install
Install-Package Guardian
dotnet add package Guardian
paket add Guardian
Guardian Download (Unzip the "nupkg" after downloading)
Dependencies
1 package depend on this package.
Tags
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.