Class ShapeShiftMap
- Namespace
- ShapeShift
- Assembly
- ShapeShift.dll
Represents a map whose keys are strings.
public sealed record ShapeShiftMap : ShapeShiftValue, IShapeable<ShapeShiftValue>, IEquatable<ShapeShiftValue>, IEquatable<ShapeShiftMap>
- Inheritance
-
ShapeShiftMap
- Implements
-
IShapeable<ShapeShiftValue>
- Inherited Members
Remarks
CBOR maps whose keys are not all text are represented by ShapeShiftDataMap. A map that contains only text keys, including one constructed as a ShapeShiftDataMap, is read back as a ShapeShiftMap.
Constructors
ShapeShiftMap(IReadOnlyDictionary<string, ShapeShiftValue>)
Represents a map whose keys are strings.
public ShapeShiftMap(IReadOnlyDictionary<string, ShapeShiftValue> Properties)
Parameters
PropertiesIReadOnlyDictionary<string, ShapeShiftValue>The map properties.
Remarks
CBOR maps whose keys are not all text are represented by ShapeShiftDataMap. A map that contains only text keys, including one constructed as a ShapeShiftDataMap, is read back as a ShapeShiftMap.
Properties
Properties
The map properties.
public IReadOnlyDictionary<string, ShapeShiftValue> Properties { get; init; }