Table of Contents

Class RecordValue

Namespace
DotBoxD.Kernels.Sandbox
Assembly
DotBoxD.Kernels.dll
public sealed record RecordValue : SandboxValue, IEquatable<SandboxValue>, IEquatable<RecordValue>
Inheritance
RecordValue
Implements
Inherited Members

Constructors

RecordValue(IReadOnlyList<SandboxValue>)

public RecordValue(IReadOnlyList<SandboxValue> Fields)

Parameters

Fields IReadOnlyList<SandboxValue>

Properties

Fields

public IReadOnlyList<SandboxValue> Fields { get; init; }

Property Value

IReadOnlyList<SandboxValue>

Type

public override SandboxType Type { get; }

Property Value

SandboxType

Methods

Equals(RecordValue?)

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

public bool Equals(RecordValue? other)

Parameters

other RecordValue

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.