Dekiru.FluentValidation
11.10.0
Prefix Reserved
dotnet add package Dekiru.FluentValidation --version 11.10.0
NuGet\Install-Package Dekiru.FluentValidation -Version 11.10.0
<PackageReference Include="Dekiru.FluentValidation" Version="11.10.0" />
paket add Dekiru.FluentValidation --version 11.10.0
#r "nuget: Dekiru.FluentValidation, 11.10.0"
// Install Dekiru.FluentValidation as a Cake Addin #addin nuget:?package=Dekiru.FluentValidation&version=11.10.0 // Install Dekiru.FluentValidation as a Cake Tool #tool nuget:?package=Dekiru.FluentValidation&version=11.10.0
Root validator for FluentValidation
This library provides an extension method that locates and registers all validators in your application, so you don't have to do it manually. A validator is any class that implements AbstractValidator<T>
, where T
is the type of the object to validate.
It also exposes a RootValidator
class that you can use to validate your objects, without having to know the specific validator for that object. Once materialized from the DI container, it can be used to validate any object that has a validator registered.
This is done by calling await myRootValidator.Validate(myObject)
or await myRootValidator.ValidateAndThrow(myObject)
. If no validator exists for the type, it is considered valid.
The default behavior is to not only use validators for the exact type of the object, but also for all its base types. This can be disabled by passing false
to the useBaseTypeValidators
parameter of either of the validation methods.
This library is built on top of FluentValidation.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Dekiru.TypeDiscovery (>= 1.0.1)
- FluentValidation (>= 11.10.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Dekiru.FluentValidation:
Package | Downloads |
---|---|
Dekiru.Conduit
A minimalist library for building pipelines |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
11.10.0 | 124 | 11/15/2024 | |
8.1.0 | 390 | 8/13/2024 | |
6.1.0 | 181 | 8/13/2024 | |
1.0.12 | 312 | 5/6/2024 | |
1.0.11 | 407 | 4/21/2024 | |
1.0.10 | 129 | 4/18/2024 | |
1.0.9 | 106 | 4/18/2024 | |
1.0.8 | 186 | 4/12/2024 | |
1.0.6 | 104 | 4/12/2024 | |
1.0.5 | 103 | 4/12/2024 | |
1.0.4 | 105 | 4/12/2024 | |
1.0.3 | 111 | 4/12/2024 | |
1.0.2 | 166 | 4/2/2024 | |
1.0.1 | 117 | 4/2/2024 | |
1.0.0 | 124 | 3/29/2024 |