Skip to content

localizationsharedattributes LocalizedEnumFieldAttribute

Denis Akopyan edited this page Jul 10, 2025 · 1 revision

LocalizedEnumFieldAttribute Public class

Description

Attribute to localize an enum

Diagram

  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
Loading

Members

Properties

Public properties

Type Name Methods
string Key
Key of the translation
get, set
string Namespace
Namespace of the translation
get

Details

Summary

Attribute to localize an enum

Inheritance

  • Attribute

Constructors

LocalizedEnumFieldAttribute

public LocalizedEnumFieldAttribute(string namespace, string key)
Arguments
Type Name Description
string namespace
string key
Summary

Default constructor

Properties

Namespace

public string Namespace { get; }
Summary

Namespace of the translation

Key

public string Key { get; set; }
Summary

Key of the translation

Generated with ModularDoc

Clone this wiki locally