Info
Version: | 1.0.1 |
Author(s): | Elros |
Last Update: | Thursday, December 12, 2013 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/EnsureThat |
Install
Install-Package EnsureThat
dotnet add package EnsureThat
paket add EnsureThat
EnsureThat Download (Unzip the "nupkg" after downloading)
Call Ensure.That(()=>param, rules).
Each rule is represented by the Rule<T> delegate and throw exceptions when their conditions are violated. Basic rules are provided.