Table of Contents

Enum MessageCultureSource

Namespace
Tlumach.FluentValidation
Assembly
Tlumach.FluentValidation.dll

Selects the culture, for which a validation message is read when neither the caller nor LanguageManager.Culture specifies one.

public enum MessageCultureSource

Fields

CurrentUICulture = 0

Use CurrentUICulture, which is what the built-in language manager of FluentValidation uses and what the request localization of ASP.NET Core and TlumachCultureState of Blazor set.

TranslationManager = 1

Use CurrentCulture of the translation manager, which a desktop application switches to change the language. It returns CurrentCulture when UseContextCulture is set.