Argument 1.0.1

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

// Install Argument as a Cake Tool
#tool nuget:?package=Argument&version=1.0.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) and ReSharper annotations.

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

This package has no dependencies.

NuGet packages (4)

Showing the top 4 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).

GitHub repositories (1)

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

Repository Stars
ashmind/SharpLab
.NET language playground
Version Downloads Last updated
1.4.0 20,143 2/24/2021
1.3.1 16,407 2/29/2020
1.2.0 618 2/15/2020
1.1.1 6,892 8/8/2019
1.1.0 17,239 4/1/2018
1.0.4-dnx-1 1,347 10/31/2015
1.0.3 7,359 8/26/2014
1.0.2 19,600 6/1/2014
1.0.1 1,262 6/1/2014
1.0.0 1,541 3/27/2014
0.9.6 1,573 4/21/2013
0.9.5 1,343 4/21/2013

Extended Argument.NotNull to allow nullable types.