Table of Contents

Class MapValue

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

Constructors

MapValue(IReadOnlyDictionary<SandboxValue, SandboxValue>, SandboxType, SandboxType)

public MapValue(IReadOnlyDictionary<SandboxValue, SandboxValue> Values, SandboxType KeyType, SandboxType ValueType)

Parameters

Values IReadOnlyDictionary<SandboxValue, SandboxValue>
KeyType SandboxType
ValueType SandboxType

Properties

KeyType

public SandboxType KeyType { get; init; }

Property Value

SandboxType

Type

public override SandboxType Type { get; }

Property Value

SandboxType

ValueType

public SandboxType ValueType { get; init; }

Property Value

SandboxType

Values

public IReadOnlyDictionary<SandboxValue, SandboxValue> Values { get; init; }

Property Value

IReadOnlyDictionary<SandboxValue, SandboxValue>

Methods

Equals(MapValue?)

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

public bool Equals(MapValue? other)

Parameters

other MapValue

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.