Class EnumUtil
This file is a helper class for internal usage only. Be aware that its API and functionality may be changed in future.
public static class EnumUtil
- Inheritance
-
EnumUtil
- Inherited Members
Methods
GetAllValuesOfEnum<T>()
public static List<T> GetAllValuesOfEnum<T>() where T : struct
Returns
- List<T>
Type Parameters
T
ThrowIfNull<T>(T?)
public static T ThrowIfNull<T>(T? enumInstance) where T : struct
Parameters
enumInstance
T?
Returns
- T
Type Parameters
T