Method | Description | |
---|---|---|
AddEnumTexts ( this registry, IEnumerable |
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.
|
|
Initialize ( IEnumerable |
public static AddEnumTexts ( this registry, IEnumerable |
||
registry | this | Registry |
assemblies | IEnumerable |
Assemblies to search for enumeration classes in |
languageID | string | Language ID texts will be added (default is invariant language) |
return | void |
public static Initialize ( IEnumerable |
||
assemblies | IEnumerable |
|
languageID | string | |
registry | ILocalTextRegistry | |
return | void |