AlliedBits.Tlumach.FluentValidation
2.1.2
dotnet add package AlliedBits.Tlumach.FluentValidation --version 2.1.2
NuGet\Install-Package AlliedBits.Tlumach.FluentValidation -Version 2.1.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AlliedBits.Tlumach.FluentValidation" Version="2.1.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AlliedBits.Tlumach.FluentValidation" Version="2.1.2" />
<PackageReference Include="AlliedBits.Tlumach.FluentValidation" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AlliedBits.Tlumach.FluentValidation --version 2.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AlliedBits.Tlumach.FluentValidation, 2.1.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package AlliedBits.Tlumach.FluentValidation@2.1.2
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AlliedBits.Tlumach.FluentValidation&version=2.1.2
#tool nuget:?package=AlliedBits.Tlumach.FluentValidation&version=2.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
AlliedBits.Tlumach.FluentValidation localizes FluentValidation through Tlumach.NET.
TlumachLanguageManagertakes the built-in messages of FluentValidation (NotEmptyValidator,LengthValidator, ...) and the messages of error codes from a group of a Tlumach translation,FluentValidationby default. For a culture without a Tlumach text, the message built into FluentValidation is used.WithMessage(Strings.SomeUnit)andWithName(Strings.SomeUnit)take the message and the display name of a rule from a translation unit created by Tlumach Generator. The text is read when the rule is validated, so it follows the current language.TlumachDisplayNameResolverprovides the display names of properties from a translation group.AddTlumachFluentValidationsets everything up in an application that uses dependency injection.
The placeholders of FluentValidation, such as {PropertyName}, are kept as they are in the translations and filled by FluentValidation.
Requires FluentValidation 12 and .NET 9 or later. See the "Localization of FluentValidation" topic in the documentation.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- AlliedBits.Tlumach (= 2.1.2)
- FluentValidation (>= 12.0.0 && < 13.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.0)
-
net9.0
- AlliedBits.Tlumach (= 2.1.2)
- FluentValidation (>= 12.0.0 && < 13.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.