Skip to content

PluginToolPlan

Record in Oadm.Sdk.Plugins · Oadm.Sdk.dll

The count of a change’s plan for the confirmation card (SDK 0.13.0): a plan record of PluginPageTools<TOwner> derives from it, so the card says “1 reader” or “3 leases”. Its fields are will_change and unit.

public abstract record PluginToolPlan

Parameters

  • WillChange: How many things the run changes.
  • Unit: What they are: one word in the singular (“reader”, “pipeline”, “lease”, “device”).
PluginToolPlan(int WillChange, string Unit)

Protected: for classes that derive from it

The count of a change’s plan for the confirmation card (SDK 0.13.0): a plan record of PluginPageTools<TOwner> derives from it, so the card says “1 reader” or “3 leases”. Its fields are will_change and unit.

Parameters

  • WillChange: How many things the run changes.
  • Unit: What they are: one word in the singular (“reader”, “pipeline”, “lease”, “device”).
IReadOnlyList<PluginToolSecret>? SecretsNeeded { get; init; }

The secrets the run needs (SDK 0.13.0, PluginToolSecret): some of the tool’s PluginTool.Secrets or ones the plan names itself; empty: none; null: all of the tool’s PluginTool.Secrets. The host takes them out of the answer and asks the person for them; the run reads them with PluginToolInput<TArgs>.Secret.

string Unit { get; init; }

What they are: one word in the singular (“reader”, “pipeline”, “lease”, “device”).

int WillChange { get; init; }

How many things the run changes.