C# Class Yea.DataTypes.ExtensionMethods.EnumExtensions

Datei anzeigen Open project: OxPatient/Rule-Engine

Public Methods

Method Description
Description ( this @enum ) : string

Gets the textual description of the enum if it has one. e.g. enum UserColors { [Description("Bright Red")] BrightRed } UserColors.BrightRed.Description();

Method Details

Description() public static method

Gets the textual description of the enum if it has one. e.g. enum UserColors { [Description("Bright Red")] BrightRed } UserColors.BrightRed.Description();
public static Description ( this @enum ) : string
@enum this
return string