Vanguard 2.3.0

.NET Framework 2.0
There is a newer version of this package available.
See the version list below for details.
NuGet\Install-Package Vanguard -Version 2.3.0
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.
dotnet add package Vanguard --version 2.3.0
<PackageReference Include="Vanguard" Version="2.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vanguard --version 2.3.0
#r "nuget: Vanguard, 2.3.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Vanguard as a Cake Addin
#addin nuget:?package=Vanguard&version=2.3.0

// Install Vanguard as a Cake Tool
#tool nuget:?package=Vanguard&version=2.3.0

A simple guard library for validating method parameters without being a complete validation library.

This library makes it easy to validate method arguments in a uniform way.

The package targets multiple versions of the .NET framework: .NET 2.0, 4.0, 4.5 and has a portable version for .NET framework 4, Silverlight 5, Windows 8, Windows Phone 8.1 and Windows Phone Silverlight 8.

Product Versions
.NET Framework net20 net35 net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Vanguard:

Package Downloads
Vanguard.Framework.Core

The Vanguard Framework is a framework for developing database driven web applications and web services. It combines a set of design patterns and best practices to kick start your project.

Vanguard.Framework.Data

The Vanguard Framework is a framework for developing database driven web applications and web services. It combines a set of design patterns and best practices to kick start your project.

Vanguard.Framework.Http

The Vanguard Framework is a framework for developing database driven web applications and web services. It combines a set of design patterns and best practices to kick start your project.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.1.0 4,181 1/15/2020
5.0.0 13,555 10/10/2019
4.0.0 820 10/8/2019
3.2.0 346 10/8/2019
3.1.0 340 10/8/2019
3.0.0 349 10/8/2019
3.0.0-beta2 3,236 3/8/2018
3.0.0-beta 679 3/7/2018
3.0.0-alfa 703 3/7/2018
2.5.0-alfa 846 2/15/2018
2.4.0 24,122 8/16/2017
2.3.0 3,621 10/16/2015
2.2.0 940 5/11/2015
2.1.1 1,027 5/4/2015
2.1.0 854 5/4/2015
2.0.1 821 5/3/2015
2.0.0 872 5/3/2015
1.1.1 916 4/29/2015
1.1.0 1,039 4/29/2015
1.0.1 1,071 4/27/2015
1.0.0 1,030 4/27/2015

Simplified Guard checks to get a more readable stack trace.
Added several ArgumentInRange and ValueInRange overloads.