Struct VBRuntimeValue<T>
The managed (.net) representation of a runtime value.
public readonly struct VBRuntimeValue<T> : IRuntimeValue<T>, IRuntimeValue, IEquatable<VBRuntimeValue<T>>
Type Parameters
T
- Implements
- Inherited Members
Constructors
VBRuntimeValue(T)
The managed (.net) representation of a runtime value.
public VBRuntimeValue(T value)
Parameters
valueT
Fields
Value
public readonly T Value
Field Value
- T
Properties
BoxedValue
public object BoxedValue { get; }
Property Value
ByteMaxValue
public static VBRuntimeValue<byte> ByteMaxValue { get; }
Property Value
ByteMinValue
public static VBRuntimeValue<byte> ByteMinValue { get; }
Property Value
ByteZeroValue
public static VBRuntimeValue<byte> ByteZeroValue { get; }
Property Value
CurrencyMaxValue
public static VBRuntimeValue<VBRuntimeCurrencyValue> CurrencyMaxValue { get; }
Property Value
CurrencyMinValue
public static VBRuntimeValue<VBRuntimeCurrencyValue> CurrencyMinValue { get; }
Property Value
CurrencyZeroValue
public static VBRuntimeValue<VBRuntimeCurrencyValue> CurrencyZeroValue { get; }
Property Value
DecimalMaxValue
public static VBRuntimeValue<VBRuntimeDecimalValue> DecimalMaxValue { get; }
Property Value
DecimalMinValue
public static VBRuntimeValue<VBRuntimeDecimalValue> DecimalMinValue { get; }
Property Value
DecimalZeroValue
public static VBRuntimeValue<VBRuntimeDecimalValue> DecimalZeroValue { get; }
Property Value
DoubleMaxValue
public static VBRuntimeValue<double> DoubleMaxValue { get; }
Property Value
DoubleMinValue
public static VBRuntimeValue<double> DoubleMinValue { get; }
Property Value
DoubleZeroValue
public static VBRuntimeValue<double> DoubleZeroValue { get; }
Property Value
Int16MaxValue
public static VBRuntimeValue<short> Int16MaxValue { get; }
Property Value
Int16MinValue
public static VBRuntimeValue<short> Int16MinValue { get; }
Property Value
Int16ZeroValue
public static VBRuntimeValue<short> Int16ZeroValue { get; }
Property Value
Int32MaxValue
public static VBRuntimeValue<int> Int32MaxValue { get; }
Property Value
Int32MinValue
public static VBRuntimeValue<int> Int32MinValue { get; }
Property Value
Int32ZeroValue
public static VBRuntimeValue<int> Int32ZeroValue { get; }
Property Value
Int64MaxValue
public static VBRuntimeValue<long> Int64MaxValue { get; }
Property Value
Int64MinValue
public static VBRuntimeValue<long> Int64MinValue { get; }
Property Value
Int64ZeroValue
public static VBRuntimeValue<long> Int64ZeroValue { get; }
Property Value
SingleMaxValue
public static VBRuntimeValue<float> SingleMaxValue { get; }
Property Value
SingleMinValue
public static VBRuntimeValue<float> SingleMinValue { get; }
Property Value
SingleZeroValue
public static VBRuntimeValue<float> SingleZeroValue { get; }
Property Value
StoredValue
public T StoredValue { get; }
Property Value
- T
Methods
Equals(VBRuntimeValue<T>)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(VBRuntimeValue<T> other)
Parameters
otherVBRuntimeValue<T>An object to compare with this object.
Returns
Equals(object?)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current instance.
Returns
- bool
true if
objand this instance are the same type and represent the same value; otherwise, false.
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
Operators
operator ==(VBRuntimeValue<T>, VBRuntimeValue<T>)
public static bool operator ==(VBRuntimeValue<T> left, VBRuntimeValue<T> right)
Parameters
leftVBRuntimeValue<T>rightVBRuntimeValue<T>
Returns
operator !=(VBRuntimeValue<T>, VBRuntimeValue<T>)
public static bool operator !=(VBRuntimeValue<T> left, VBRuntimeValue<T> right)
Parameters
leftVBRuntimeValue<T>rightVBRuntimeValue<T>