-
-
Notifications
You must be signed in to change notification settings - Fork 0
localizationsharedattributes LocalizedEnumFieldAttribute
Denis Akopyan edited this page Jul 10, 2025
·
1 revision
Attribute to localize an enum
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph Localization.Shared.Attributes
Localization.Shared.Attributes.LocalizedEnumFieldAttribute[[LocalizedEnumFieldAttribute]]
end
subgraph System
System.Attribute[[Attribute]]
end
System.Attribute --> Localization.Shared.Attributes.LocalizedEnumFieldAttribute
| Type | Name | Methods |
|---|---|---|
string |
KeyKey of the translation |
get, set |
string |
NamespaceNamespace of the translation |
get |
Attribute to localize an enum
Attribute
public LocalizedEnumFieldAttribute(string namespace, string key)| Type | Name | Description |
|---|---|---|
string |
namespace | |
string |
key |
Default constructor
public string Namespace { get; }Namespace of the translation
public string Key { get; set; }Key of the translation
Generated with ModularDoc