[]
Returns the values of an Enum type (Type.IsEnum == true).
public static IList<T> GetEnumValues<T>(this Type enumType)
Type | Name | Description |
---|---|---|
Type | enumType | Enum type. |
Type | Description |
---|---|
IList<T> | The list of values for that enum type. |
Name | Description |
---|---|
T | Enum type. |