dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Serialization
AttributeSerializationRecord Class
Protobuf serialization record for an attribute key-value pair.
public record AttributeSerializationRecord : dymaptic.GeoBlazor.Core.Serialization.MapComponentSerializationRecord, System.IEquatable<dymaptic.GeoBlazor.Core.Serialization.AttributeSerializationRecord>
Inheritance System.Object 🡒 MapComponentSerializationRecord 🡒 AttributeSerializationRecord
Implements System.IEquatable<AttributeSerializationRecord>
Constructors
AttributeSerializationRecord() Constructor
Default constructor for protobuf deserialization.
public AttributeSerializationRecord();
AttributeSerializationRecord(string, string, string) Constructor
Creates a new AttributeSerializationRecord with the specified values.
public AttributeSerializationRecord(string Key, string? Value, string ValueType);
Parameters
Key System.String
Value System.String
ValueType System.String
Properties
AttributeSerializationRecord.IsNull Property
Indicates whether this record represents a null value.
public override bool IsNull { get; init; }
Property Value
AttributeSerializationRecord.Key Property
The attribute key name.
public string Key { get; init; }
Property Value
AttributeSerializationRecord.Value Property
The serialized attribute value.
public string? Value { get; init; }
Property Value
AttributeSerializationRecord.ValueType Property
The type name of the attribute value.
public string ValueType { get; init; }
Property Value
Methods
AttributeSerializationRecord.FromSerializationRecord() Method
Converts this serialization record back to a key-value tuple.
public (string Key,object? Value) FromSerializationRecord();