Table of Contents

Class TlumachFluentValidationOptions

Namespace
Tlumach.FluentValidation
Assembly
Tlumach.FluentValidation.dll
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

string

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

TranslationManager

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; }

Property Value

bool