 | enumEnumT Method |
Generates all the enum members of a particular enum.
Namespace:
WhetStone.Looping
Assembly:
WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntaxpublic static IEnumerable<T> Enum<T>()
where T : struct, new(), IConvertible
Type Parameters
- T
- The enum type.
Return Value
Type:
IEnumerableTAll the enum members.
RemarksUses reflection to generate types.
See GetValues(Type) to get the order of values
See Also