12 packages returned for Tags:"ensure"

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... More information
This project is inspired by Ensure.That developed by Daniel Wertheim. The purpose of this library is to allow common validation checks to be easily made.
EnsureFramework is designed to take the pain out of null checking and making sure (ensuring) your methods are being used the way they were intended and throwing exceptions when unsupported values are passed to them. You can make sure values are in a specific range or simply make sure that an... More information