Skip to main content
.NETFramework4.5.NETFramework2.0.NETPlatform5.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.

Published
Oct 31, 2015
11y ago
Total Downloads
219.8K
219,757

Install

dotnet add package Argument --version 1.0.4-dnx-1
ProductVersions
Other
.NETFramework2.0.NETFramework4.5.NETPlatform5.0

Changes from Previous Version

v1.0.3v1.0.4-dnx-1
Added Frameworks
.NETFramework4.5.NETFramework2.0.NETPlatform5.0
Added Dependencies
System.Runtime(.NETPlatform5.0)
System.Collections(.NETPlatform5.0)

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

This version is marked prerelease. Validate its API and upgrade path before production use.No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.