Argument 1.0.3

Argument validation methods, for example:
this.user = Argument.NotNull("user", user).

Less fancy than approaches based on lambdas/anonymous classes, but less scary performance-wise (given that argument checks are often all over the place).

Includes Code Contracts [ContractArgumentValidator] annotation (.NET 4.5 only) and ReSharper annotations.

There is a newer version of this package available.
See the version list below for details.
Install-Package Argument -Version 1.0.3
dotnet add package Argument --version 1.0.3
<PackageReference Include="Argument" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Argument --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Added [NoEnumeration] annotation to Argument.NotNull.

Dependencies

This package has no dependencies.

Showing the top 1 GitHub repositories that depend on Argument:

Repository Stars
ashmind/SharpLab
SharpLab (previously known as TryRoslyn)

Version History

Version Downloads Last updated
1.1.1 1,061 8/8/2019
1.1.0 6,125 4/1/2018
1.0.4-dnx-1 735 10/31/2015
1.0.3 2,989 8/26/2014
1.0.2 3,079 6/1/2014
1.0.1 599 6/1/2014
1.0.0 799 3/27/2014
0.9.6 835 4/21/2013
0.9.5 663 4/21/2013