InstallationSnapshot14.1
Class in Unbroken.LaunchBox.Plugins.Capabilities.Installation
public sealed class InstallationSnapshot
Describes the current installation state of one selected item.
Constructors
InstallationSnapshotInitializes a new instance of the InstallationSnapshot class.
InstallationSnapshot
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
public InstallationStatus InstallationState { get; }Gets the item's current installation state.
InstallDirectory
public string? InstallDirectory { get; }Gets the known item installation directory, or the expected location when the item is missing.
Unknown
public static InstallationSnapshot Unknown { get; }Gets a state representing an unknown item installation.