Enum |
The EnumExtensions type exposes the following members.
Name | Description | |
---|---|---|
AreAllFlagsSet<T> | Determines whether all of the specified flags are set on the specified value. | |
ClearFlags<T> | Clears the specified flags on the specified value. | |
CombineFlags<T> | Combines the flags into a single Enum. | |
GetFlags<T> | Gets the individual flags set on the specified value. | |
IsAnyFlagSet<T> | Determines whether any of the specified flags is set on the specified value. | |
SetFlags<T>(T, T) | Sets the specified flags on the specified value. | |
SetFlags<T>(T, T, Boolean) | Sets the specified flags on the specified value on or off. | |
ToEnum<T>(Int16) | Converts a short value into an Enum. | |
ToEnum<T>(Int32) | Converts an integer value into an Enum. | |
ToEnum<T>(Int64) | Converts a long value into an Enum. | |
ToEnum<T>(Nullable<Int16>) | Converts a short value into an enum. | |
ToEnum<T>(Nullable<Int32>) | Converts an integer value into an enum. | |
ToEnum<T>(Nullable<UInt16>) | Converts an unsigned short value into an enum. | |
ToEnum<T>(Nullable<UInt32>) | Converts an unsigned integer value into an enum. | |
ToEnum<T>(UInt16) | Converts an unsigned short value into an Enum. | |
ToEnum<T>(UInt32) | Converts an unsigned integer value into an Enum. | |
ToEnum<T>(UInt64) | Converts an unsigned long value into an Enum. |