Table of Contents

Class LocalizedEnumAttribute

Attach this attribute to an enum field to make it a localized enum.

public class LocalizedEnumAttribute : PropertyAttribute
Inheritance
LocalizedEnumAttribute
Extension Methods

Constructors

LocalizedEnumAttribute()

Create a new instance of LocalizedEnumAttribute.

public LocalizedEnumAttribute()

Properties

Key

The key of the localized enum label.

public string Key { get; set; }

Property Value

string

Remarks

If not provided, the enum type name will be used as key.