ArgValidation 1.9.0
A simply arguments validation library with fluent API.
Examples:
Arg.NotNull(() => model);
Arg.Validate(color, nameof(color))
.NotNullOrWhitespace()
.LengthInRange(2, 20);
// passangerCount is Nullable type
Arg.IfNotNull(passangerCount, nameof(passangerCount))
.Positive();
Install-Package ArgValidation -Version 1.9.0
dotnet add package ArgValidation --version 1.9.0
<PackageReference Include="ArgValidation" Version="1.9.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ArgValidation --version 1.9.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Release Notes
Implemented NotContainsNull and short DefinedInEnum methods
Dependencies
-
.NETStandard 1.0
- NETStandard.Library (>= 1.6.1)
-
.NETStandard 1.4
- NETStandard.Library (>= 1.6.1)
-
.NETStandard 2.0
- No dependencies.
GitHub Usage
This package is not used by any popular GitHub repositories.
Version History
Version | Downloads | Last updated | ||
---|---|---|---|---|
1.9.0 | 598 | 6/12/2019 | ||
1.8.0 | 500 | 3/18/2019 | ||
1.7.0 | 479 | 1/20/2019 | ||
1.6.0 | 463 | 1/13/2019 | ||
1.5.0 | 350 | 1/8/2019 | ||
1.4.0 | 320 | 1/4/2019 | ||
1.3.0 | 293 | 12/23/2018 | ||
1.2.0 | 288 | 12/17/2018 | ||
1.0.1 | 282 | 11/25/2018 | ||
1.0.0 | 302 | 11/25/2018 | ||
0.3.0 | 302 | 11/11/2018 | ||
0.2.2 | 333 | 10/30/2018 | ||
0.2.1 | 292 | 10/28/2018 | ||
0.2.0 | 314 | 10/28/2018 | ||
0.1.0 | 303 | 10/20/2018 |