Class EnumExtensions
Inheritance
System.Object
EnumExtensions
Assembly: GCore.dll
Syntax
public static class EnumExtensions : object
Methods
|
Improve this Doc
View Source
Flag<T>(T, T)
Check to see if a flags enumeration has a specific flag set.
Declaration
public static bool Flag<T>(this T variable, T value)
Parameters
Type |
Name |
Description |
T |
variable |
|
T |
value |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
|
Improve this Doc
View Source
To<ConvertType>(Enum)
Konvertiert zu dem Datentyp
Declaration
public static ConvertType To<ConvertType>(this Enum e)
Parameters
Type |
Name |
Description |
Enum |
e |
|
Returns
Type |
Description |
ConvertType |
|
Type Parameters
Name |
Description |
ConvertType |
Uterstützt:
|