8 packages returned for ensure.that

Package type
Sort by
.NET Core 2.0 & Standard 2.0 port of A simple guard clause project helping you with validation and uniformed exception throwing when validating arguments.
  • 20,185 total downloads
  • last updated 12/12/2013
  • Latest version: 1.0.1
Adds arg checking using delegates for cleanness. 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.