Class EnumUtility
Inheritance
object
EnumUtility
Assembly: solution.dll
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, bool)
Declaration
public static Dictionary<string, Enum> ValuesByNames(Type enumType, bool obsolete = false)
Parameters
| Type |
Name |
Description |
| Type |
enumType |
|
| bool |
obsolete |
|
Returns
| Type |
Description |
| Dictionary<string, Enum> |
|
ValuesByNames<T>(bool)
Declaration
public static Dictionary<string, T> ValuesByNames<T>(bool obsolete = false)
Parameters
| Type |
Name |
Description |
| bool |
obsolete |
|
Returns
| Type |
Description |
| Dictionary<string, T> |
|
Type Parameters