Skip to content
Start free evaluation

PDComm.GemConstantConfiguration

Class

Represents the equipment constant store that GemEquipmentWorker installs on its equipment endpoint at startup.

public sealed record GemConstantConfiguration

The worker validates the definitions and copies their items when it starts, so the caller keeps ownership; see GemEquipment.ConfigureConstants for the rules.

Parameters

NameDescription
OptionsThe constant store limits.
DefinitionsThe constant definitions in registration order.

Members

GemConstantConfiguration

Constructor

Represents the equipment constant store that GemEquipmentWorker installs on its equipment endpoint at startup.

public GemConstantConfiguration(GemConstantOptions Options, ReadOnlyMemory<GemConstantDefinition> Definitions)

The worker validates the definitions and copies their items when it starts, so the caller keeps ownership; see GemEquipment.ConfigureConstants for the rules.

Parameters

NameDescription
OptionsThe constant store limits.
DefinitionsThe constant definitions in registration order.

Definitions

Property

The constant definitions in registration order.

public ReadOnlyMemory<GemConstantDefinition> Definitions { get; init; }

Options

Property

The constant store limits.

public GemConstantOptions Options { get; init; }