DependentValidation 1.2.2
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
Install-Package DependentValidation -Version 1.2.2
dotnet add package DependentValidation --version 1.2.2
<PackageReference Include="DependentValidation" Version="1.2.2" />
paket add DependentValidation --version 1.2.2
#r "nuget: DependentValidation, 1.2.2"
Dependencies
-
.NETStandard 2.0
- Microsoft.AspNetCore.Mvc.Abstractions (>= 2.2.0)
- System.ComponentModel.Annotations (>= 4.7.0)
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version History
Version | Downloads | Last updated |
---|---|---|
1.2.2 | 108 | 10/16/2020 |