A variable sized enum field backed by a long value. The type helps with consistency and backwards compatibility when Enum types change during development. More...
Inherits IConvertible.
Public Member Functions | |
TypeCode | GetTypeCode () |
Obsolete More... | |
bool | ToBoolean (IFormatProvider provider) |
Convert QEnum into a Boolean value using Convert.ToBoolean(bool). More... | |
byte | ToByte (IFormatProvider provider) |
Convert QEnum into a Byte value using Convert.ToByte(byte). More... | |
char | ToChar (IFormatProvider provider) |
Convert QEnum into a Char value using Convert.ToChar(char). More... | |
DateTime | ToDateTime (IFormatProvider provider) |
Convert QEnum into a DateTime value using Convert.ToDateTime(DateTime). More... | |
decimal | ToDecimal (IFormatProvider provider) |
Convert QEnum into a Decimal value using Convert.ToDecimal(decimal). More... | |
double | ToDouble (IFormatProvider provider) |
Convert QEnum into a Double value using Convert.ToDouble(double). More... | |
short | ToInt16 (IFormatProvider provider) |
Convert QEnum into a Int16 value using Convert.ToInt16(short). More... | |
int | ToInt32 (IFormatProvider provider) |
Convert QEnum into a Int32 value using Convert.ToInt32(int). More... | |
long | ToInt64 (IFormatProvider provider) |
Convert QEnum into a Int64 value using Convert.ToInt64(long). More... | |
sbyte | ToSByte (IFormatProvider provider) |
Convert QEnum into a SByte value using Convert.ToSByte(sbyte). More... | |
float | ToSingle (IFormatProvider provider) |
Convert QEnum into a Single value using Convert.ToSingle(float). More... | |
string | ToString (IFormatProvider provider) |
Convert QEnum into a String value using Convert.ToString(string). More... | |
object | ToType (Type conversionType, IFormatProvider provider) |
Convert QEnum into an object type using Convert.ChangeType(object, Type, IFormatProvider). More... | |
ushort | ToUInt16 (IFormatProvider provider) |
Convert QEnum into a UInt16 value using Convert.ToUInt16(ushort). More... | |
uint | ToUInt32 (IFormatProvider provider) |
Convert QEnum into a UInt32 value using Convert.ToUInt32(uint). More... | |
ulong | ToUInt64 (IFormatProvider provider) |
Convert QEnum into a UInt64 value using Convert.ToUInt64(ulong). More... | |
Static Public Member Functions | |
static | operator long (QEnum64< T > value) |
Convert QEnum value into backing type value. More... | |
static | operator QEnum64< T > (long value) |
Convert backing type value into QEnum. More... | |
static implicit | operator QEnum64< T > (T value) |
Convert enum into QEnum encapsulation. More... | |
static implicit | operator T (QEnum64< T > value) |
Convert QEnum into the encapsulated enum value. More... | |
Public Attributes | |
long | Value |
The backing value. More... | |
A variable sized enum field backed by a long value. The type helps with consistency and backwards compatibility when Enum types change during development.
T | The encapsulated enumeration type |
T | : | unmanaged |
|
inlinestatic |
Convert QEnum into the encapsulated enum value.
value | QEnum value |
|
inlinestatic |
Convert enum into QEnum encapsulation.
value | Enum value |
|
inlineexplicitstatic |
Convert QEnum value into backing type value.
value | QEnum value |
|
inlineexplicitstatic |
Convert backing type value into QEnum.
value | Backing type value |
TypeCode Quantum.QEnum64< T >.GetTypeCode | ( | ) |
Obsolete
bool Quantum.QEnum64< T >.ToBoolean | ( | IFormatProvider | provider | ) |
Convert QEnum into a Boolean value using Convert.ToBoolean(bool).
provider | Format provider. |
byte Quantum.QEnum64< T >.ToByte | ( | IFormatProvider | provider | ) |
Convert QEnum into a Byte value using Convert.ToByte(byte).
provider | Format provider. |
char Quantum.QEnum64< T >.ToChar | ( | IFormatProvider | provider | ) |
Convert QEnum into a Char value using Convert.ToChar(char).
provider | Format provider. |
DateTime Quantum.QEnum64< T >.ToDateTime | ( | IFormatProvider | provider | ) |
Convert QEnum into a DateTime value using Convert.ToDateTime(DateTime).
provider | Format provider. |
decimal Quantum.QEnum64< T >.ToDecimal | ( | IFormatProvider | provider | ) |
Convert QEnum into a Decimal value using Convert.ToDecimal(decimal).
provider | Format provider. |
double Quantum.QEnum64< T >.ToDouble | ( | IFormatProvider | provider | ) |
Convert QEnum into a Double value using Convert.ToDouble(double).
provider | Format provider. |
short Quantum.QEnum64< T >.ToInt16 | ( | IFormatProvider | provider | ) |
Convert QEnum into a Int16 value using Convert.ToInt16(short).
provider | Format provider. |
int Quantum.QEnum64< T >.ToInt32 | ( | IFormatProvider | provider | ) |
Convert QEnum into a Int32 value using Convert.ToInt32(int).
provider | Format provider. |
long Quantum.QEnum64< T >.ToInt64 | ( | IFormatProvider | provider | ) |
Convert QEnum into a Int64 value using Convert.ToInt64(long).
provider | Format provider. |
sbyte Quantum.QEnum64< T >.ToSByte | ( | IFormatProvider | provider | ) |
Convert QEnum into a SByte value using Convert.ToSByte(sbyte).
provider | Format provider. |
float Quantum.QEnum64< T >.ToSingle | ( | IFormatProvider | provider | ) |
Convert QEnum into a Single value using Convert.ToSingle(float).
provider | Format provider. |
string Quantum.QEnum64< T >.ToString | ( | IFormatProvider | provider | ) |
Convert QEnum into a String value using Convert.ToString(string).
provider | Format provider. |
ushort Quantum.QEnum64< T >.ToUInt16 | ( | IFormatProvider | provider | ) |
Convert QEnum into a UInt16 value using Convert.ToUInt16(ushort).
provider | Format provider. |
uint Quantum.QEnum64< T >.ToUInt32 | ( | IFormatProvider | provider | ) |
Convert QEnum into a UInt32 value using Convert.ToUInt32(uint).
provider | Format provider. |
ulong Quantum.QEnum64< T >.ToUInt64 | ( | IFormatProvider | provider | ) |
Convert QEnum into a UInt64 value using Convert.ToUInt64(ulong).
provider | Format provider. |
object Quantum.QEnum64< T >.ToType | ( | Type | conversionType, |
IFormatProvider | provider | ||
) |
Convert QEnum into an object type using Convert.ChangeType(object, Type, IFormatProvider).
conversionType | Conversion type |
provider | Format provider. |
long Quantum.QEnum64< T >.Value |
The backing value.