Skip to content
Start free evaluation

PDComm.GemProgramConfiguration

Class

Represents the process program store that a worker installs at startup.

public sealed record GemProgramConfiguration

Parameters

NameDescription
OptionsThe store limits and grant policy.
InitialProgramsThe 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.
PathThe 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

NameDescription
OptionsThe store limits and grant policy.
InitialProgramsThe 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.
PathThe 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; }