EnumExtensions.GetDescription method
Gets the description from DescriptionAttribute or enum name if no attribute exists.
public static string GetDescription<T>(this T enumValue)
where T : struct, Enum
| parameter | description |
|---|---|
| T | The enum type. |
| enumValue | The enum value. |
Return Value
Description string or enum name.
See Also
- class EnumExtensions
- namespace Autodesk.DataExchange.ProgressManager.Utilities