-
Notifications
You must be signed in to change notification settings - Fork 36
Methods_T_CodeJam_EnumHelper
andrewvk edited this page Jun 23, 2016
·
5 revisions
[This is preliminary documentation and is subject to change.]
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. |
![]() ![]() |
IsDefined(TEnum) | Determines whether the specified value is defined |
![]() ![]() |
IsFlagMatch(TEnum) | Determines whether any bit from specified flag is set. |
![]() ![]() |
IsFlagNotMatch(TEnum) | Determines whether any bit from specified flag is not set. |
![]() ![]() |
IsFlagNotSet(TEnum) | Determines whether the specified flag is not set. |
![]() ![]() |
IsFlagsEnum(TEnum) | Determines whether the enum has flags modifier. |
![]() ![]() |
IsFlagSet(TEnum) | Determines whether the specified flag is set. |
![]() ![]() |
Parse(TEnum) | Parse the enum value. |
![]() ![]() |
SetFlag(TEnum) | Sets the flag. |
![]() ![]() |
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. |