Name | Description | |
---|---|---|
GetBitMaskNames<TEnum> | Gets an array of the raised bit names. | |
GetBitMaskValues<TEnum> | Gets an array of the raised bit values. | |
GetBitNames<TEnum> | Gets the names of the values in the specified enum that are represented by single bits in their binary representation (i.e. are exact powers of 2). | |
GetBitValues<TEnum> | Gets the values of the specified enum that are represented by single bits in their binary representation (i.e. are exact powers of 2). | |
GetEnumName | Gets the string representation of the given enum value. | |
GetFirstValue<TEnum> | Gets the first value of the given enum. | |
GetFlags | Overloaded. Gets the flags for the given enumeration. This method should be used only for enumerations, which represent a set of flags. | |
GetLastValue<TEnum> | Gets the last value of the given enum. | |
GetLocalizedString | Gets the localized string for the given enum value. | |
GetNames | Overloaded. Gets the names of the specified enum type. | |
GetValues | Overloaded. Gets the values of the specified enum type. | |
HasFlag<TEnum> | Checks whether the given flag is set for the specified flag enum value. | |
IsDefined | Overloaded. Checks whether a constant with the given value exists in the specified enumeration. | |
TryParse | Overloaded. Tries to parse the given string value to the specified enum. A case sensitive check is performed. Returns true on success. |