EnumExtensions Class |
Namespace: TomsToolbox.Essentials
The EnumExtensions type exposes the following members.
Name | Description | |
---|---|---|
AreAllFlagsSetT |
Determines whether all of the specified flags are set on the specified value.
| |
ClearFlagsT |
Clears the specified flags on the specified value.
| |
CombineFlagsT |
Combines the flags into a single Enum.
| |
GetFlagsT |
Gets the individual flags set on the specified value.
| |
IsAnyFlagSetT |
Determines whether any of the specified flags is set on the specified value.
| |
SetFlagsT(T, T) |
Sets the specified flags on the specified value.
| |
SetFlagsT(T, T, Boolean) |
Sets the specified flags on the specified value on or off.
| |
ToEnumT(Int16) |
Converts a short value into an Enum.
| |
ToEnumT(Int32) |
Converts an integer value into an Enum.
| |
ToEnumT(Int64) |
Converts a long value into an Enum.
| |
ToEnumT(NullableInt16) |
Converts a short value into an enum.
| |
ToEnumT(NullableInt32) |
Converts an integer value into an enum.
| |
ToEnumT(NullableUInt16) |
Converts an unsigned short value into an enum.
| |
ToEnumT(NullableUInt32) |
Converts an unsigned integer value into an enum.
| |
ToEnumT(UInt16) |
Converts an unsigned short value into an Enum.
| |
ToEnumT(UInt32) |
Converts an unsigned integer value into an Enum.
| |
ToEnumT(UInt64) |
Converts an unsigned long value into an Enum.
|