Class MapValue
Namespace: DotBoxD.Kernels.Sandbox.Values
Assembly: DotBoxD.Kernels.dll
public sealed record MapValue : SandboxValue, IEquatable<SandboxValue>, IEquatable<MapValue>Inheritance
Section titled “Inheritance”object ← SandboxValue ← MapValue
Implements
Section titled “Implements”IEquatable<SandboxValue>, IEquatable<MapValue>
Inherited Members
Section titled “Inherited Members”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()
Constructors
Section titled “Constructors”MapValue(IReadOnlyDictionary<SandboxValue, SandboxValue>, SandboxType, SandboxType)
Section titled “ MapValue(IReadOnlyDictionary<SandboxValue, SandboxValue>, SandboxType, SandboxType)”public MapValue(IReadOnlyDictionary<SandboxValue, SandboxValue> Values, SandboxType KeyType, SandboxType ValueType)Parameters
Section titled “Parameters”Values IReadOnlyDictionary<SandboxValue, SandboxValue>
KeyType SandboxType
ValueType SandboxType
Properties
Section titled “Properties”KeyType
Section titled “ KeyType”public SandboxType KeyType { get; init; }Property Value
Section titled “Property Value”public override SandboxType Type { get; }Property Value
Section titled “Property Value”ValueType
Section titled “ ValueType”public SandboxType ValueType { get; init; }Property Value
Section titled “Property Value”Values
Section titled “ Values”public IReadOnlyDictionary<SandboxValue, SandboxValue> Values { get; init; }Property Value
Section titled “Property Value”IReadOnlyDictionary<SandboxValue, SandboxValue>
Methods
Section titled “Methods”Equals(MapValue?)
Section titled “ Equals(MapValue?)”Indicates whether the current object is equal to another object of the same type.
public bool Equals(MapValue? other)Parameters
Section titled “Parameters”other MapValue?
An object to compare with this object.
Returns
Section titled “Returns”true if the current object is equal to the other parameter; otherwise, false.
GetHashCode()
Section titled “ GetHashCode()”Serves as the default hash function.
public override int GetHashCode()Returns
Section titled “Returns”A hash code for the current object.