Class EnumUtility
Syntax
public static class EnumUtility
Methods
HasFlag(Enum, Enum)
Declaration
public static bool HasFlag(this Enum value, Enum flag)
Parameters
Type |
Name |
Description |
Enum |
value |
|
Enum |
flag |
|
Returns
ValuesByNames(Type, Boolean)
Declaration
public static Dictionary<string, Enum> ValuesByNames(Type enumType, bool obsolete = false)
Parameters
Returns
ValuesByNames<T>(Boolean)
Declaration
public static Dictionary<string, T> ValuesByNames<T>(bool obsolete = false)
Parameters
Type |
Name |
Description |
Boolean |
obsolete |
|
Returns
Type Parameters