Argument NuGet Package

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).

Annotations: C# 8 nullable reference types, ReSharper, Microsoft.CodeQuality.Analyzers, Code Contracts (.NET 4.5 only).




Got any Argument Question?





Info

Version: 1.4.0
Author(s): Andrey Shchekin
Last Update: Wednesday, February 24, 2021
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/ashmind/argument
NuGet Url: https://www.nuget.org/packages/Argument


Install
Install-Package Argument
dotnet add package Argument
paket add Argument
Argument Download (Unzip the "nupkg" after downloading)

.NETFramework 4.5
  • No dependencies.
.NETStandard 1.1 5 packages depend on this package.


Tags



STATS

must-have-score

1.8

avg-downloads-per-day

11

days-since-last-release

1366