LaunchBoxContributors
On this page

PreparedAction14.1

Class in Unbroken.LaunchBox.Plugins.Models.Actions

C#
public class PreparedAction
Describes one entry plan that the host executes for a selected integration.

Remarks

The host owns execution, cancellation, process adoption, focus, pause, scripts and session accounting. This is not an action pipeline or a plugin selection mechanism.

Constructors

PreparedAction

C#
public PreparedAction(
    ActionPlan entryPlan,
    ActionPresentation presentation = DirectExecution,
    ActionObservation observation = EntryProcessStarted
)
Initializes a prepared action.
entryPlan
The executable, URI, document or shell entry plan.
presentation
Whether execution starts directly or opens integration-owned UI.
observation
Whether the host observes item installation state after starting the action. Starting a process is not proof of installation or removal.

Properties

EntryPlan

C#
public ActionPlan EntryPlan { get; }
Gets the entry plan.

Observation

C#
public ActionObservation Observation { get; }
Gets the observation required after the action starts.

Presentation

C#
public ActionPresentation Presentation { get; }
Gets the presentation of the action.

UseSavedLaunchSettings

C#
public bool UseSavedLaunchSettings { get; init; }
Gets or initializes whether a direct storefront launch uses the saved item arguments and script.

Remarks

Use for an item executable or shortcut, not a client. The host appends saved arguments and owns script cleanup. Emulator plans already contain expanded arguments and use the emulator's script; this flag does not append them again. Ignored for UI handoffs and non-launch actions.