Skip to content
Start free evaluation

PDComm.GemCommandConfiguration

Class

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

public sealed record GemCommandConfiguration

The worker validates the definitions and copies their name items when it starts; see GemEquipment.ConfigureCommands for the rules. Command and parameter names must be ASCII items or scalar integer items.

Parameters

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

Members

GemCommandConfiguration

Constructor

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

public GemCommandConfiguration(GemCommandOptions Options, ReadOnlyMemory<GemCommandDefinition> Definitions)

The worker validates the definitions and copies their name items when it starts; see GemEquipment.ConfigureCommands for the rules. Command and parameter names must be ASCII items or scalar integer items.

Parameters

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

Definitions

Property

The command definitions in registration order.

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

Options

Property

The command store limits.

public GemCommandOptions Options { get; init; }