dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Serialization

FieldInfoSerializationRecord Class

Protobuf serialization record for FieldInfo.

public record FieldInfoSerializationRecord : dymaptic.GeoBlazor.Core.Serialization.MapComponentSerializationRecord<dymaptic.GeoBlazor.Core.Components.FieldInfo>, System.IEquatable<dymaptic.GeoBlazor.Core.Serialization.FieldInfoSerializationRecord>

Inheritance System.Object 🡒 MapComponentSerializationRecord 🡒 dymaptic.GeoBlazor.Core.Serialization.MapComponentSerializationRecord<FieldInfo> 🡒 FieldInfoSerializationRecord

Implements System.IEquatable<FieldInfoSerializationRecord>

Constructors

FieldInfoSerializationRecord() Constructor

Default constructor for protobuf deserialization.

public FieldInfoSerializationRecord();

FieldInfoSerializationRecord(string, string, string, string, string, FieldInfoFormatSerializationRecord, Nullable, Nullable) Constructor

Creates a new FieldInfoSerializationRecord with the specified values.

public FieldInfoSerializationRecord(string Id, string? FieldName=null, string? Label=null, string? Tooltip=null, string? StringFieldOption=null, dymaptic.GeoBlazor.Core.Serialization.FieldInfoFormatSerializationRecord? Format=null, System.Nullable<bool> IsEditable=null, System.Nullable<bool> Visible=null);

Parameters

Id System.String

FieldName System.String

Label System.String

Tooltip System.String

StringFieldOption System.String

Format FieldInfoFormatSerializationRecord

IsEditable System.Nullable<System.Boolean>

Visible System.Nullable<System.Boolean>

Properties

FieldInfoSerializationRecord.FieldName Property

The name of the field.

public string? FieldName { get; init; }

Property Value

System.String

FieldInfoSerializationRecord.Format Property

The format for displaying the field value.

public dymaptic.GeoBlazor.Core.Serialization.FieldInfoFormatSerializationRecord? Format { get; init; }

Property Value

FieldInfoFormatSerializationRecord

FieldInfoSerializationRecord.Id Property

The unique identifier.

public string? Id { get; init; }

Property Value

System.String

FieldInfoSerializationRecord.IsEditable Property

Indicates whether the field is editable.

public System.Nullable<bool> IsEditable { get; init; }

Property Value

System.Nullable<System.Boolean>

FieldInfoSerializationRecord.IsNull Property

Indicates whether this record represents a null value.

public override bool IsNull { get; init; }

Property Value

System.Boolean

FieldInfoSerializationRecord.Label Property

The label for the field.

public string? Label { get; init; }

Property Value

System.String

FieldInfoSerializationRecord.StringFieldOption Property

The string field option type.

public string? StringFieldOption { get; init; }

Property Value

System.String

FieldInfoSerializationRecord.Tooltip Property

The tooltip text for the field.

public string? Tooltip { get; init; }

Property Value

System.String

FieldInfoSerializationRecord.Visible Property

Indicates whether the field is visible.

public System.Nullable<bool> Visible { get; init; }

Property Value

System.Nullable<System.Boolean>

Methods

FieldInfoSerializationRecord.FromSerializationRecord() Method

Converts this serialization record back to the original type.

public override dymaptic.GeoBlazor.Core.Components.FieldInfo? FromSerializationRecord();

Returns

FieldInfo