Vanguard 2.1.1
dotnet add package Vanguard --version 2.1.1
NuGet\Install-Package Vanguard -Version 2.1.1
<PackageReference Include="Vanguard" Version="2.1.1" />
paket add Vanguard --version 2.1.1
#r "nuget: Vanguard, 2.1.1"
// Install Vanguard as a Cake Addin #addin nuget:?package=Vanguard&version=2.1.1 // Install Vanguard as a Cake Tool #tool nuget:?package=Vanguard&version=2.1.1
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 Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net20 is compatible. net35 is compatible. net40 is compatible. net403 was computed. net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
GitHub repositories
This package is not used by any popular GitHub repositories.
Breaking changes:
- Removed the ArgumentRange class. The range is now directly supplied in the methode call.
- Renamed Guard.IsNotNull to Guard.ValueIsNotNull.
- Renamed Guard.IsNotNullOrEmpty to Guard.ValueIsNotNullOrEmpty.
- Renamed Guard.IsInRange to Guard.ValueIsInRange.
- Renamed exception classes.