ActionContext14.1
Class in Unbroken.LaunchBox.Plugins.Models.Actions
public class ActionContext : ProviderItemContext
Identifies the selected item and carries optional integration-owned item evidence.
Inheritance and interfaces
Constructors
ActionContextInitializes a new instance of the ActionContext class.
ActionContext
public ActionContext(string itemId, ProviderItemData? providerData = null)
Initializes a new instance of the ActionContext class.
itemId- The selected integration's item ID, or host item ID for an emulator.
providerData- Optional versioned provider data previously persisted by the host.
Properties
ApplicationPathGets or initializes the saved application or ROM path.IsAdditionalApplicationGets or initializes whether the selected item is an additional application.PlatformGets or initializes the host platform name.TitleGets or initializes the selected item title.
ApplicationPath
public string? ApplicationPath { get; init; }Gets or initializes the saved application or ROM path.
IsAdditionalApplication
public bool IsAdditionalApplication { get; init; }Gets or initializes whether the selected item is an additional application.
Platform
public string? Platform { get; init; }Gets or initializes the host platform name.
Title
public string? Title { get; init; }Gets or initializes the selected item title.