C# Class EnumExtensionMethods, code

Mostra file Open project: shendongnian/code Class Usage Examples

Public Methods

Method Description
GetDescription ( Enum, enumValue ) : string
ParseEnum ( string stringVal ) : T,

Method Details

GetDescription() public static method

public static GetDescription ( Enum, enumValue ) : string
enumValue Enum,
return string

ParseEnum() public static method

public static ParseEnum ( string stringVal ) : T,
stringVal string
return T,