Argument 1.1.1

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), ReSharper annotations and C# 8 nullability annotations.

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

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Argument:

Package Downloads
uMigrate.Core
Migration framework for Umbraco (Core).
Unbreakable
.NET sandboxing framework: rewrites other assemblies to ensure they can't bring down the hosting process.
Softengi.UbClient
.Net library which allows connecting to UnityBase server.
Gate.Adapters.AspNet
PRE-RELEASE, do not use (but now supports SignalR).
Sqreen.Agent
The Sqreen in app agent for .NET. Defense in depth for OWASP Top-10 attacks that’s easy to install, manage and scale.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Argument:

Repository Stars
ashmind/SharpLab
.NET language playground

Version History

Version Downloads Last updated
1.3.1 3,325 2/29/2020
1.2.0 269 2/15/2020
1.1.1 5,318 8/8/2019
1.1.0 8,688 4/1/2018
1.0.4-dnx-1 938 10/31/2015
1.0.3 4,579 8/26/2014
1.0.2 6,313 6/1/2014
1.0.1 723 6/1/2014
1.0.0 915 3/27/2014
0.9.6 983 4/21/2013
0.9.5 786 4/21/2013