Table of Contents

Class VBEmptyValue

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

Represents an Empty value.

public sealed record VBEmptyValue : VBTypedValue, IEquatable<VBRuntimeEntity>, IEquatable<VBTypedValue>, IVBTypedValue<VBEmptyValue, nint>, IEquatable<IVBTypedValue<VBEmptyValue, nint>>, IEquatable<VBEmptyValue>
Inheritance
VBEmptyValue
Implements
Inherited Members

Constructors

VBEmptyValue(Symbol)

Represents an Empty value.

public VBEmptyValue(Symbol Symbol)

Parameters

Symbol Symbol

The symbol associated with this value.

Properties

BoxedValue

Gets the boxed (object) underlying managed value.

public override object BoxedValue { get; }

Property Value

object

Remarks

👉 This member is provided as a non-generic convenience for contexts where the type is unknown. Use the generic ITypedValue<T> whenever possible instead.

Empty

public static VBEmptyValue Empty { get; }

Property Value

VBEmptyValue

Size

The allocated size (in bytes) of this value.

public override int Size { get; }

Property Value

int

Symbol

The symbol associated with this value.

public Symbol Symbol { get; init; }

Property Value

Symbol

Value

Gets the underlying managed value corresponding to this typed value.

public nint Value { get; }

Property Value

nint

Methods

Equals(IVBTypedValue<VBEmptyValue, nint>?)

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

public bool Equals(IVBTypedValue<VBEmptyValue, nint>? other)

Parameters

other IVBTypedValue<VBEmptyValue, nint>

An object to compare with this object.

Returns

bool

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

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.