C# Class OmssaLib.EnumHelper

Afficher le fichier Open project: dbaileychess/Compass

Méthodes publiques

Méthode Description
GetDescription ( Enum en ) : string

Retrieve the description on the enum, e.g. [Description("Bright Pink")] BrightPink = 2, Then when you pass in the enum, it will retrieve the description

Method Details

GetDescription() public static méthode

Retrieve the description on the enum, e.g. [Description("Bright Pink")] BrightPink = 2, Then when you pass in the enum, it will retrieve the description
public static GetDescription ( Enum en ) : string
en System.Enum The Enumeration
Résultat string