Class EnumDescription
Inheritance
System.Object
EnumDescription
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: Experior.Core.Properties
Assembly: Experior.Core.dll
Syntax
public static class EnumDescription
Methods
GetDescriptionFromEnumValue(Enum)
Declaration
public static string GetDescriptionFromEnumValue(Enum value)
Parameters
Type | Name | Description |
---|---|---|
System.Enum | value |
Returns
Type | Description |
---|---|
System.String |
GetEnumValueFromDescription<T>(String)
Declaration
public static T GetEnumValueFromDescription<T>(string description)
Parameters
Type | Name | Description |
---|---|---|
System.String | description |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |