C# Class Pizza.Mvc.Helpers.EnumDisplayNameHelper

Mostrar archivo Open project: dwdkls/pizzamvc

Public Methods

Method Description
GetDisplayName ( Type enumType, object enumValue ) : string
GetValueAndDescriptionMap ( Type enumType ) : string>.Dictionary
GetValueNameMap ( Type enumType ) : string>.Dictionary

Method Details

GetDisplayName() public static method

public static GetDisplayName ( Type enumType, object enumValue ) : string
enumType System.Type
enumValue object
return string

GetValueAndDescriptionMap() public static method

public static GetValueAndDescriptionMap ( Type enumType ) : string>.Dictionary
enumType System.Type
return string>.Dictionary

GetValueNameMap() public static method

public static GetValueNameMap ( Type enumType ) : string>.Dictionary
enumType System.Type
return string>.Dictionary