C# 클래스 Yea.DataTypes.ExtensionMethods.EnumExtensions

파일 보기 프로젝트 열기: OxPatient/Rule-Engine

공개 메소드들

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