C# 클래스 OmssaLib.EnumHelper

파일 보기 프로젝트 열기: dbaileychess/Compass

공개 메소드들

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

메소드 상세

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 ( Enum en ) : string
en System.Enum The Enumeration
리턴 string