Enum TranslationCultureSource
- Namespace
- Tlumach.DataAnnotations
- Assembly
- Tlumach.DataAnnotations.dll
Selects the culture, for which a localized validation message is read.
public enum TranslationCultureSource
Fields
Ambient = 2Use the ambient CurrentCulture, which is what a request localization pipeline of a web application sets for the duration of a request.
Default = 0Defer to CultureSource. This is the value that an attribute has when the application does not set the property explicitly.
TranslationManager = 1Use CurrentCulture of the translation manager that provides the message. This is consistent with CurrentValue and with the rest of Tlumach.