Skip to content

Class MapValue

Namespace: DotBoxD.Kernels.Sandbox.Values
Assembly: DotBoxD.Kernels.dll

public sealed record MapValue : SandboxValue, IEquatable<SandboxValue>, IEquatable<MapValue>

objectSandboxValueMapValue

IEquatable<SandboxValue>, IEquatable<MapValue>

SandboxValue.Unit, SandboxValue.Type, SandboxValue.FromBool(bool), SandboxValue.FromInt32(int), SandboxValue.FromInt64(long), SandboxValue.FromDouble(double), SandboxValue.FromString(string), SandboxValue.FromGuid(Guid), SandboxValue.FromOpaqueId(string, string), SandboxValue.FromPath(string), SandboxValue.FromUri(string), SandboxValue.FromList(IReadOnlyList<SandboxValue>), SandboxValue.FromList(IReadOnlyList<SandboxValue>, SandboxType), SandboxValue.FromMap(IReadOnlyDictionary<SandboxValue, SandboxValue>, SandboxType, SandboxType), SandboxValue.FromRecord(IReadOnlyList<SandboxValue>), object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

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

Section titled “ MapValue(IReadOnlyDictionary<SandboxValue, SandboxValue>, SandboxType, SandboxType)”
public MapValue(IReadOnlyDictionary<SandboxValue, SandboxValue> Values, SandboxType KeyType, SandboxType ValueType)

Values IReadOnlyDictionary<SandboxValue, SandboxValue>

KeyType SandboxType

ValueType SandboxType

public SandboxType KeyType { get; init; }

SandboxType

public override SandboxType Type { get; }

SandboxType

public SandboxType ValueType { get; init; }

SandboxType

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

IReadOnlyDictionary<SandboxValue, SandboxValue>

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

public bool Equals(MapValue? other)

other MapValue?

An object to compare with this object.

bool

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

Serves as the default hash function.

public override int GetHashCode()

int

A hash code for the current object.