LaunchBoxContributors
On this page

InstallationSnapshot14.1

Class in Unbroken.LaunchBox.Plugins.Capabilities.Installation

C#
public sealed class InstallationSnapshot
Describes the current installation state of one selected item.

Constructors

InstallationSnapshot

C#
public InstallationSnapshot(
    InstallationStatus installationState,
    string? installDirectory = null
)
Initializes a new instance of the InstallationSnapshot class.
installationState
The item's current installation state.
installDirectory
The known item installation directory, the expected location for InstallationStatus.Missing, or null.

Properties

  • InstallationStateGets the item's current installation state.
  • InstallDirectoryGets the known item installation directory, or the expected location when the item is missing.
  • UnknownGets a state representing an unknown item installation.

InstallationState

C#
public InstallationStatus InstallationState { get; }
Gets the item's current installation state.

InstallDirectory

C#
public string? InstallDirectory { get; }
Gets the known item installation directory, or the expected location when the item is missing.

Unknown

C#
public static InstallationSnapshot Unknown { get; }
Gets a state representing an unknown item installation.