Guardian 0.7.0-beta70

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.

This is a prerelease version of Guardian.
There is a newer version of this package available.
See the version list below for details.
Install-Package Guardian -Version 0.7.0-beta70
dotnet add package Guardian --version 0.7.0-beta70
<PackageReference Include="Guardian" Version="0.7.0-beta70">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Guardian --version 0.7.0-beta70
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Added Guardian.vsix to NuGet package to add guard snippet to Visual Studio
Changed formatting to support StyleCop Analyzers

Dependencies

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 History

Version Downloads Last updated
0.7.0 2,299 4/24/2016
0.7.0-beta70 562 4/24/2016
0.6.0-beta26 671 3/1/2015
0.5.0 1,145 7/27/2013
0.4.0 758 6/16/2013
0.3.3 776 6/2/2013
0.3.1 710 5/31/2013