EnsureArg 1.1.0

dotnet add package EnsureArg --version 1.1.0                
NuGet\Install-Package EnsureArg -Version 1.1.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="EnsureArg" Version="1.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EnsureArg --version 1.1.0                
#r "nuget: EnsureArg, 1.1.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 EnsureArg as a Cake Addin
#addin nuget:?package=EnsureArg&version=1.1.0

// Install EnsureArg as a Cake Tool
#tool nuget:?package=EnsureArg&version=1.1.0                

A lightweight and extensible guard clause library.

Example:
Ensure.Arg(param1, "param1").IsNotNull();

The library is easily extensible through the use of extension methods. Even the main Ensure.Arg(...) call can be overridden to whatever you prefer e.g. Verify.That(...)

See the project site for many more examples

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.0 43 3/19/2015
1.0.1 93 7/29/2014
1.0.0 41 7/29/2014

* 1.1.0 - Added IsDefaultValue and IsNotDefaultValue to BclExtensions and EnsureArg (Issues #2 and #3).
              - Upgraded SmartFormat.NET dependency to latest version 1.6.1 (Issue #1).
      * 1.0.1 - Included intellisense Xml files.
      * 1.0.0 - First release of EnsureArg and EnsureArg.BclExtensions.