DependentValidation NuGet Package

DependentValidation is a netstandard2.0 library that extends the System.ComponentModel.DataAnnotations with conditional attributes based on another property of the validated object.

The new attributes are the following:

- RequiredIf
- RequiredIfEmpty
- RequiredIfFalse
- RequiredIfNot
- RequiredIfNotEmpty
- RequiredIfNotRegExMatch
- RequiredIfRegExMatch
- RequiredIfTrue
- RegularExpressionIf
- Is
- EqualTo
- GreaterThan
- GreaterThanOrEqualTo
- LessThan
- LessThanOrEqualTo
- NotEqualTo.




Got any DependentValidation Question?





Info

Version: 1.2.2
Author(s): Angelo Rotta
Last Update: Friday, October 16, 2020
.NET Fiddle: Create the first Fiddle
NuGet Url: https://www.nuget.org/packages/DependentValidation


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



Tags



STATS

must-have-score

.3

avg-downloads-per-day

1

days-since-last-release

1305