Info
Version: | 1.1.0 |
Author(s): | Shane Taylor |
Last Update: | Thursday, March 19, 2015 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://bitbucket.org/Shane88/ensurearg |
NuGet Url: | https://www.nuget.org/packages/EnsureArg |
Install
Install-Package EnsureArg
dotnet add package EnsureArg
paket add EnsureArg
EnsureArg Download (Unzip the "nupkg" after downloading)
Dependencies
- SmartFormat.NET(1.6.1.0)
Tags
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.