Class EnumHelper
Inheritance
System.Object
EnumHelper
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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> |