Table of Contents

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 = 2

Use the ambient CurrentCulture, which is what a request localization pipeline of a web application sets for the duration of a request.

Default = 0

Defer to CultureSource. This is the value that an attribute has when the application does not set the property explicitly.

TranslationManager = 1

Use CurrentCulture of the translation manager that provides the message. This is consistent with CurrentValue and with the rest of Tlumach.