PDComm.GemConstantConfiguration
Class
Represents the equipment constant store that GemEquipmentWorker installs on its equipment endpoint at startup.
public sealed record GemConstantConfigurationThe worker validates the definitions and copies their items when it starts, so the caller keeps ownership; see GemEquipment.ConfigureConstants for the rules.
Parameters
| Name | Description |
|---|---|
Options | The constant store limits. |
Definitions | The 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
| Name | Description |
|---|---|
Options | The constant store limits. |
Definitions | The 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; }