Class EnumExtensions

Namespace
SIMDispatcher.Core.Extensions
Assembly
SIMDispatcher.Core.dll
public static class EnumExtensions
Inheritance
EnumExtensions
Inherited Members

Methods

GetDisplayDescription(Enum)

Retrieves the 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)

Parameters

e Enum

The Enum value for which the display description is to be retrieved.

Returns

string

The display description of the Enum value, or its string representation if not available.