PDComm.GemProgramConfiguration
Class
Represents the process program store that a worker installs at startup.
public sealed record GemProgramConfigurationParameters
| Name | Description |
|---|---|
Options | The store limits and grant policy. |
InitialPrograms | The programs to store in order with GemEquipment.PutProgram after the store is opened. With a storage file that already holds a PPID, GemProgramPutMode.Create fails and stops the startup. |
Path | The storage file path, or null or empty to keep the store in memory; see GemEquipment.ConfigurePrograms. |
Members
GemProgramConfiguration
Constructor
Represents the process program store that a worker installs at startup.
public GemProgramConfiguration(GemProgramOptions Options, ReadOnlyMemory<GemProgramDefinition> InitialPrograms, string? Path = null)Parameters
| Name | Description |
|---|---|
Options | The store limits and grant policy. |
InitialPrograms | The programs to store in order with GemEquipment.PutProgram after the store is opened. With a storage file that already holds a PPID, GemProgramPutMode.Create fails and stops the startup. |
Path | The storage file path, or null or empty to keep the store in memory; see GemEquipment.ConfigurePrograms. |
InitialPrograms
Property
The programs to store in order with GemEquipment.PutProgram after the store is opened. With a storage file that already holds a PPID, GemProgramPutMode.Create fails and stops the startup.
public ReadOnlyMemory<GemProgramDefinition> InitialPrograms { get; init; }Options
Property
The store limits and grant policy.
public GemProgramOptions Options { get; init; }Path
Property
The storage file path, or null or empty to keep the store in memory; see GemEquipment.ConfigurePrograms.
public string? Path { get; init; }