-
Notifications
You must be signed in to change notification settings - Fork 34
Methods_T_CodeJam_EnumHelper
Andrew Koryavchenko edited this page Jul 4, 2017
·
5 revisions
The EnumHelper type exposes the following members.
| Name | Description | |
|---|---|---|
![]()
|
AreFlagsDefined(TEnum) | Determines whether all bits of the flags combination are defined. |
![]()
|
ClearFlag(TEnum) | Clears the flag. |
![]()
|
GetFlagsMask(TEnum) | Returns a combination of all flags declared in the enum. |
![]()
|
GetName(TEnum) | Returns the name of the enum value. |
![]()
|
GetNames(TEnum) | Retrieves an array of the names of the constants in a specified enumeration. |
![]()
|
GetNameValues(TEnum) | Returns a dictionary containing the enum names and their values. |
![]()
|
GetValues(TEnum) | Retrieves an array of the values of the constants in a specified enumeration. |
![]()
|
IsAnyFlagSet(TEnum) | Determines whether any bit from specified flag is set. |
![]()
|
IsAnyFlagUnset(TEnum) | Determines whether any bit from specified flag is not set. |
![]()
|
IsDefined(TEnum) | Determines whether the specified value is defined. |
![]()
|
IsFlagsEnum(TEnum) | Determines whether the enum has flags modifier. |
![]()
|
IsFlagSet(TEnum) | Determines whether the specified flag is set. |
![]()
|
IsFlagUnset(TEnum) | Determines whether the specified flag is not set. |
![]()
|
Parse(TEnum) | Parse the enum value. |
![]()
|
SetFlag(TEnum)(TEnum, TEnum) | Sets the flag. |
![]()
|
SetFlag(TEnum)(TEnum, TEnum, Boolean) | Sets or clears the flag depending on enabled value. |
![]()
|
TryParse(TEnum)(String, Boolean) | Try to parse the enum value. |
![]()
|
TryParse(TEnum)(String, TEnum) | Try to parse the enum value. |
![]()
|
TryParse(TEnum)(String, Boolean, TEnum) | Try to parse the enum value. |
