dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Serialization

FieldInfoFormatSerializationRecord Class

Protobuf serialization record for FieldInfoFormat.

public record FieldInfoFormatSerializationRecord : dymaptic.GeoBlazor.Core.Serialization.MapComponentSerializationRecord<dymaptic.GeoBlazor.Core.Components.FieldInfoFormat>, System.IEquatable<dymaptic.GeoBlazor.Core.Serialization.FieldInfoFormatSerializationRecord>

Inheritance System.Object 🡒 MapComponentSerializationRecord 🡒 dymaptic.GeoBlazor.Core.Serialization.MapComponentSerializationRecord<FieldInfoFormat> 🡒 FieldInfoFormatSerializationRecord

Implements System.IEquatable<FieldInfoFormatSerializationRecord>

Constructors

FieldInfoFormatSerializationRecord() Constructor

Default constructor for protobuf deserialization.

public FieldInfoFormatSerializationRecord();

FieldInfoFormatSerializationRecord(string, Nullable, Nullable, string) Constructor

Creates a new FieldInfoFormatSerializationRecord with the specified values.

public FieldInfoFormatSerializationRecord(string Id, System.Nullable<int> Places, System.Nullable<bool> DigitSeparator, string? DateFormat);

Parameters

Id System.String

Places System.Nullable<System.Int32>

DigitSeparator System.Nullable<System.Boolean>

DateFormat System.String

Properties

FieldInfoFormatSerializationRecord.DateFormat Property

The date format string.

public string? DateFormat { get; init; }

Property Value

System.String

FieldInfoFormatSerializationRecord.DigitSeparator Property

Indicates whether to use a digit separator for numeric values.

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

Property Value

System.Nullable<System.Boolean>

FieldInfoFormatSerializationRecord.Id Property

The unique identifier.

public string? Id { get; init; }

Property Value

System.String

FieldInfoFormatSerializationRecord.IsNull Property

Indicates whether this record represents a null value.

public override bool IsNull { get; init; }

Property Value

System.Boolean

FieldInfoFormatSerializationRecord.Places Property

The number of decimal places for numeric values.

public System.Nullable<int> Places { get; init; }

Property Value

System.Nullable<System.Int32>

Methods

FieldInfoFormatSerializationRecord.FromSerializationRecord() Method

Converts this serialization record back to the original type.

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

Returns

FieldInfoFormat