C# Class Nimrod.EnumExtensions

Afficher le fichier Open project: resgroup/nimrod

Méthodes publiques

Méthode Description
GetDescription ( object value ) : string

Returns the description of the enum if it exists, otherwise returns the name of the enum value. http://stackoverflow.com/questions/1799370/getting-attributes-of-enums-value

Method Details

GetDescription() public static méthode

Returns the description of the enum if it exists, otherwise returns the name of the enum value. http://stackoverflow.com/questions/1799370/getting-attributes-of-enums-value
public static GetDescription ( object value ) : string
value object
Résultat string