Table of Contents

Struct ManagedInteropValue<T>

Namespace
RDCore.SDK.Model.Values.Interop
Assembly
RDCore.SDK.dll

The managed (.net) representation of a runtime value.

public readonly struct ManagedInteropValue<T> : IManagedInteropValue<T>, IManagedInteropValue, IEquatable<ManagedInteropValue<T>> where T : struct

Type Parameters

T
Implements
Inherited Members

Constructors

ManagedInteropValue(T)

The managed (.net) representation of a runtime value.

public ManagedInteropValue(T value)

Parameters

value T

Fields

Value

public readonly T Value

Field Value

T

Properties

BooleanFalse

public static ManagedInteropValue<bool> BooleanFalse { get; }

Property Value

ManagedInteropValue<bool>

BooleanTrue

public static ManagedInteropValue<bool> BooleanTrue { get; }

Property Value

ManagedInteropValue<bool>

BoxedValue

public object BoxedValue { get; }

Property Value

object

ByteMaxValue

public static ManagedInteropValue<byte> ByteMaxValue { get; }

Property Value

ManagedInteropValue<byte>

ByteMinValue

public static ManagedInteropValue<byte> ByteMinValue { get; }

Property Value

ManagedInteropValue<byte>

ByteZeroValue

public static ManagedInteropValue<byte> ByteZeroValue { get; }

Property Value

ManagedInteropValue<byte>

CurrencyMaxValue

public static ManagedInteropValue<ManagedCurrencyInteropValue> CurrencyMaxValue { get; }

Property Value

ManagedInteropValue<ManagedCurrencyInteropValue>

CurrencyMinValue

public static ManagedInteropValue<ManagedCurrencyInteropValue> CurrencyMinValue { get; }

Property Value

ManagedInteropValue<ManagedCurrencyInteropValue>

CurrencyZeroValue

public static ManagedInteropValue<ManagedCurrencyInteropValue> CurrencyZeroValue { get; }

Property Value

ManagedInteropValue<ManagedCurrencyInteropValue>

DecimalMaxValue

public static ManagedInteropValue<ManagedDecimalInteropValue> DecimalMaxValue { get; }

Property Value

ManagedInteropValue<ManagedDecimalInteropValue>

DecimalMinValue

public static ManagedInteropValue<ManagedDecimalInteropValue> DecimalMinValue { get; }

Property Value

ManagedInteropValue<ManagedDecimalInteropValue>

DecimalZeroValue

public static ManagedInteropValue<ManagedDecimalInteropValue> DecimalZeroValue { get; }

Property Value

ManagedInteropValue<ManagedDecimalInteropValue>

DoubleMaxValue

public static ManagedInteropValue<double> DoubleMaxValue { get; }

Property Value

ManagedInteropValue<double>

DoubleMinValue

public static ManagedInteropValue<double> DoubleMinValue { get; }

Property Value

ManagedInteropValue<double>

DoubleZeroValue

public static ManagedInteropValue<double> DoubleZeroValue { get; }

Property Value

ManagedInteropValue<double>

Int16MaxValue

public static ManagedInteropValue<short> Int16MaxValue { get; }

Property Value

ManagedInteropValue<short>

Int16MinValue

public static ManagedInteropValue<short> Int16MinValue { get; }

Property Value

ManagedInteropValue<short>

Int16ZeroValue

public static ManagedInteropValue<short> Int16ZeroValue { get; }

Property Value

ManagedInteropValue<short>

Int32MaxValue

public static ManagedInteropValue<int> Int32MaxValue { get; }

Property Value

ManagedInteropValue<int>

Int32MinValue

public static ManagedInteropValue<int> Int32MinValue { get; }

Property Value

ManagedInteropValue<int>

Int32ZeroValue

public static ManagedInteropValue<int> Int32ZeroValue { get; }

Property Value

ManagedInteropValue<int>

Int64MaxValue

public static ManagedInteropValue<long> Int64MaxValue { get; }

Property Value

ManagedInteropValue<long>

Int64MinValue

public static ManagedInteropValue<long> Int64MinValue { get; }

Property Value

ManagedInteropValue<long>

Int64ZeroValue

public static ManagedInteropValue<long> Int64ZeroValue { get; }

Property Value

ManagedInteropValue<long>

SingleMaxValue

public static ManagedInteropValue<float> SingleMaxValue { get; }

Property Value

ManagedInteropValue<float>

SingleMinValue

public static ManagedInteropValue<float> SingleMinValue { get; }

Property Value

ManagedInteropValue<float>

SingleZeroValue

public static ManagedInteropValue<float> SingleZeroValue { get; }

Property Value

ManagedInteropValue<float>

StoredValue

public T StoredValue { get; }

Property Value

T

Methods

Equals(ManagedInteropValue<T>)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(ManagedInteropValue<T> other)

Parameters

other ManagedInteropValue<T>

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and 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 ==(ManagedInteropValue<T>, ManagedInteropValue<T>)

public static bool operator ==(ManagedInteropValue<T> left, ManagedInteropValue<T> right)

Parameters

left ManagedInteropValue<T>
right ManagedInteropValue<T>

Returns

bool

operator !=(ManagedInteropValue<T>, ManagedInteropValue<T>)

public static bool operator !=(ManagedInteropValue<T> left, ManagedInteropValue<T> right)

Parameters

left ManagedInteropValue<T>
right ManagedInteropValue<T>

Returns

bool