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)
Dependencies
.NETFramework 4.5
No dependencies.
- System.Collections(>= 4.0.11)
- System.Diagnostics.Contracts(>= 4.0.1)
- System.Runtime(>= 4.1.0)
Tags
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).