LaunchBoxContributors
On this page

BooleanEmulatorImportAction13.15

Class in Unbroken.LaunchBox.Plugins

C#
public sealed class BooleanEmulatorImportAction : EmulatorImportAction
Describes an import action that the user enables or disables.

Inheritance and interfaces

Constructors

BooleanEmulatorImportAction

C#
public BooleanEmulatorImportAction(string id, string label, bool defaultVal)
Initializes an import action with a Boolean selection.
id
The action identifier.
label
The display label.
defaultVal
The initial value used for both DefaultValue and Value.

Properties

  • DefaultValueGets the initial selection state of this import action.
  • ValueGets or sets whether the user has enabled this import action.

DefaultValue

C#
public bool DefaultValue { get; }
Gets the initial selection state of this import action.

Value

C#
public bool Value { get; set; }
Gets or sets whether the user has enabled this import action.