NuGet Package ArgValidation

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

Info

Version: 1.10.0
Author(s): Viktor Mynkov
Last Update: Wednesday, November 11, 2020
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/mnkvsoft/ArgValidation
NuGet Url: https://www.nuget.org/packages/ArgValidation


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

.NETStandard 1.0
  • No dependencies.
.NETStandard 2.0
  • No dependencies.
netcoreapp2.1
  • No dependencies.
netstandard1.4
  • No dependencies.


Tags



STATS

must-have-score

1.5

avg-downloads-per-day

10

days-since-last-release

73