C# 클래스 SchoolsNearMe.Extensions.EnumExtensions

파일 보기 프로젝트 열기: MrKevHunter/SchoolsNearMe

공개 메소드들

메소드 설명
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