EnumMapper.FormatEnum method
Formats the enum.
public static string FormatEnum(this ITextLocalizer localizer, Type enumType, object value)
| parameter | description |
|---|---|
| localizer | Text localizer |
| enumType | Type of the enum. |
| value | The value. |
Return Value
The formatted display text of the enum value.
See Also
- interface ITextLocalizer
- class EnumMapper