Class EnumHelper
Inheritance
System.Object
EnumHelper
Namespace: Vortex.Presentation.Wpf
Assembly: Vortex.Presentation.Wpf.dll
Syntax
public static class EnumHelper
Methods
Description(Enum)
Declaration
public static string Description(this Enum value)
Parameters
Type | Name | Description |
---|---|---|
System.Enum | value |
Returns
Type | Description |
---|---|
System.String |
GetAllValuesAndDescriptions(Type)
Declaration
public static IEnumerable<ValueDescription> GetAllValuesAndDescriptions(Type t)
Parameters
Type | Name | Description |
---|---|---|
System.Type | t |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ValueDescription> |