Table of Contents

Class EnumExtensions

Namespace
XENBIT.ResQueServe.Localization
Assembly
RQS.Localization.dll
public static class EnumExtensions
Inheritance
EnumExtensions
Inherited Members

Methods

GetDisplayDescription(Enum)

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)

Parameters

e Enum

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

Returns

string

The localized display description of the Enum value, or its string representation if no description is available.