C# Класс SchoolsNearMe.Extensions.EnumExtensions

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

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

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

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

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

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 ( this en ) : string
en this The Enumeration
Результат string