Class EnumExtensions
- Namespace
- XENBIT.ResQueServe.Localization.Extensions
- Assembly
- RQS.Localization.dll
public static class EnumExtensions
- Inheritance
-
EnumExtensions
- Inherited Members
Methods
GetDisplayDescription(Enum, string?, Type?)
Retrieves the localized display description of an Enum value, if available. If not, returns the string representation of the Enum value.
public static string GetDisplayDescription(this Enum e, string? memberName = null, Type? resourceType = null)
Parameters
Returns
- string
The localized display description of the Enum value, or its string representation if no description is available.