C# Класс Yea.DataTypes.ExtensionMethods.EnumExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
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();

Описание методов

Description() публичный статический Метод

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
Результат string