Argument 1.0.0
See the version list below for details.
dotnet add package Argument --version 1.0.0
NuGet\Install-Package Argument -Version 1.0.0
<PackageReference Include="Argument" Version="1.0.0" />
paket add Argument --version 1.0.0
#r "nuget: Argument, 1.0.0"
// Install Argument as a Cake Addin #addin nuget:?package=Argument&version=1.0.0 // Install Argument as a Cake Tool #tool nuget:?package=Argument&version=1.0.0
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 Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net20 is compatible. net35 was computed. net40 was computed. 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.
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 | 62,375 | 2/24/2021 |
1.3.1 | 22,848 | 2/29/2020 |
1.2.0 | 1,211 | 2/15/2020 |
1.1.1 | 7,750 | 8/8/2019 |
1.1.0 | 19,352 | 4/1/2018 |
1.0.4-dnx-1 | 1,841 | 10/31/2015 |
1.0.3 | 9,315 | 8/26/2014 |
1.0.2 | 24,331 | 6/1/2014 |
1.0.1 | 1,951 | 6/1/2014 |
1.0.0 | 2,129 | 3/27/2014 |
0.9.6 | 2,264 | 4/21/2013 |
0.9.5 | 11,433 | 4/21/2013 |
Extended Argument.NotNullOrEmpty to allow IEnumerable as long as it is not a base IEnumerable.