There is a newer version of this package available.
See the version list below for details.
dotnet add package Bytes2you.Validation --version
NuGet\Install-Package Bytes2you.Validation -Version
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="Bytes2you.Validation" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Bytes2you.Validation --version
#r "nuget: Bytes2you.Validation,"
#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 Bytes2you.Validation as a Cake Addin
#addin nuget:?package=Bytes2you.Validation&version=

// Install Bytes2you.Validation as a Cake Tool
#tool nuget:?package=Bytes2you.Validation&version=

Fast, extensible, intuitive and easy-to-use C# portable library providing fluent APIs for argument validation. Gives everything you need to implement defensive programming in your .NET application

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Bytes2you.Validation:

Package Downloads

A simple retry mechanism for .net

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0 29,398 4/16/2015
1.3.0 1,354 4/13/2015 1,541 11/26/2014
1.1.0 1,766 11/11/2014
1.0.0 1,449 10/15/2014

- Converted from ClassLibrary to PortableLibrary. Now it supports .NET Framework 4 and higher; Silverlight 4 and higher; Windows Phone 7 and higher; .NET for Windows Store apps; Xbox 360.
- Refactored the validation messages. Now every value is surrounded by <> for better readability.
- Introduced IsInstanceOfType() & IsNotInstanceOfType methods.
- Introduced IsNull() & IsNotNull() for Nullable<T> types.
- IntelliSense improvements. The members of IArgument<T> and IValidatableArgument<T> are now hidden from the editor.
- Added special float predicates - Infinity, NegativeInfinity, PositiveInfinity, NaN.
- Added special double predicates - Infinity, NegativeInfinity, PositiveInfinity, NaN.
- Better support for byte and short (no need to cast).