namespace: Serenity.Localization assembly: Serenity.Net.Core
Contains initialization method for adding local text translations defined by Description attributes in enumeration classes.
public static class EnumLocalTextRegistration
name | description |
---|---|
static AddEnumTexts(…) | Adds local text translations defined implicitly by Description attributes in enumeration classes. Only enum values that has Description attribute are added as local text. By default, enums are registered in format: "Enums.{EnumerationTypeFullName}.{EnumValueName}". EnumerationTypeFullName, is fullname of the enumeration type. This can be overridden by attaching a EnumKey attribute. |
- Source: EnumLocalTextRegistration.cs