Class MapValue
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
ValuesIReadOnlyDictionary<SandboxValue, SandboxValue>KeyTypeSandboxTypeValueTypeSandboxType
Properties
KeyType
public SandboxType KeyType { get; init; }
Property Value
Type
public override SandboxType Type { get; }
Property Value
ValueType
public SandboxType ValueType { get; init; }
Property Value
Values
public IReadOnlyDictionary<SandboxValue, SandboxValue> Values { get; init; }
Property Value
Methods
Equals(MapValue?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(MapValue? other)
Parameters
otherMapValueAn object to compare with this object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.