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 = 0Use CurrentUICulture, which is what the built-in language manager of FluentValidation uses and what the request localization of ASP.NET Core and
TlumachCultureStateof Blazor set.TranslationManager = 1Use CurrentCulture of the translation manager, which a desktop application switches to change the language. It returns CurrentCulture when UseContextCulture is set.