dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Serialization

ActionBaseSerializationRecord Class

Protobuf serialization record for ActionBase types.

public record ActionBaseSerializationRecord : dymaptic.GeoBlazor.Core.Serialization.MapComponentSerializationRecord<dymaptic.GeoBlazor.Core.Components.ActionBase>, System.IEquatable<dymaptic.GeoBlazor.Core.Serialization.ActionBaseSerializationRecord>

Inheritance System.Object 🡒 MapComponentSerializationRecord 🡒 dymaptic.GeoBlazor.Core.Serialization.MapComponentSerializationRecord<ActionBase> 🡒 ActionBaseSerializationRecord

Implements System.IEquatable<ActionBaseSerializationRecord>

Constructors

ActionBaseSerializationRecord() Constructor

Default constructor for protobuf deserialization.

public ActionBaseSerializationRecord();

ActionBaseSerializationRecord(string, string, string, string, Nullable, Nullable, Nullable, string) Constructor

Creates a new ActionBaseSerializationRecord with the specified values.

public ActionBaseSerializationRecord(string Id, string Type, string? Title, string? ClassName, System.Nullable<bool> Active, System.Nullable<bool> Disabled, System.Nullable<bool> Visible, string? ActionId);

Parameters

Id System.String

Type System.String

Title System.String

ClassName System.String

Active System.Nullable<System.Boolean>

Disabled System.Nullable<System.Boolean>

Visible System.Nullable<System.Boolean>

ActionId System.String

Properties

ActionBaseSerializationRecord.ActionId Property

The action identifier.

public string? ActionId { get; init; }

Property Value

System.String

ActionBaseSerializationRecord.Active Property

Indicates whether the action is active.

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

Property Value

System.Nullable<System.Boolean>

ActionBaseSerializationRecord.ClassName Property

The CSS class name for the action icon.

public string? ClassName { get; init; }

Property Value

System.String

ActionBaseSerializationRecord.Disabled Property

Indicates whether the action is disabled.

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

Property Value

System.Nullable<System.Boolean>

ActionBaseSerializationRecord.Id Property

The unique identifier.

public string? Id { get; init; }

Property Value

System.String

ActionBaseSerializationRecord.Image Property

The image URL for the action.

public string? Image { get; init; }

Property Value

System.String

ActionBaseSerializationRecord.IsNull Property

Indicates whether this record represents a null value.

public override bool IsNull { get; init; }

Property Value

System.Boolean

ActionBaseSerializationRecord.Test Property

The test value.

public string? Test { get; init; }

Property Value

System.String

ActionBaseSerializationRecord.Title Property

The title of the action.

public string? Title { get; init; }

Property Value

System.String

ActionBaseSerializationRecord.Type Property

The action type.

public string Type { get; init; }

Property Value

System.String

ActionBaseSerializationRecord.Value Property

The toggle value for toggle actions.

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

Property Value

System.Nullable<System.Boolean>

ActionBaseSerializationRecord.Visible Property

Indicates whether the action is visible.

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

Property Value

System.Nullable<System.Boolean>

Methods

ActionBaseSerializationRecord.FromSerializationRecord() Method

Converts this serialization record back to the original type.

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

Returns

ActionBase