PDComm.GemCommandConfiguration
Class
Represents the remote command store that GemEquipmentWorker installs on its equipment endpoint at startup.
public sealed record GemCommandConfigurationThe 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
| Name | Description |
|---|---|
Options | The command store limits. |
Definitions | The 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
| Name | Description |
|---|---|
Options | The command store limits. |
Definitions | The 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; }