Class TlumachFluentValidationOptions
- Namespace
- Tlumach.FluentValidation
- Assembly
- Tlumach.FluentValidation.dll
The options of AddTlumachFluentValidation(IServiceCollection, Action<TlumachFluentValidationOptions>).
public sealed class TlumachFluentValidationOptions : TlumachLanguageManagerOptions
- Inheritance
-
TlumachFluentValidationOptions
- Inherited Members
Properties
DisplayNamesGroup
Gets or sets the group, in which the display names are stored, when UseDisplayNameResolver is set. The default is "DisplayNames".
public string? DisplayNamesGroup { get; set; }
Property Value
TranslationManager
Gets or sets the translation manager that provides the messages, typically Strings.TranslationManager of a class created by Generator. Required.
public TranslationManager? TranslationManager { get; set; }
Property Value
UseDisplayNameResolver
Gets or sets a value indicating whether a TlumachDisplayNameResolver is installed as ValidatorOptions.Global.DisplayNameResolver. The default is false.
public bool UseDisplayNameResolver { get; set; }