StorefrontClientState14.1
Class in Unbroken.LaunchBox.Plugins.Components.Storefronts
public sealed class StorefrontClientState
Describes the installation state and known paths of a storefront client.
Constructors
StorefrontClientStateInitializes a new instance of the StorefrontClientState class.
StorefrontClientState
public StorefrontClientState(
StorefrontClientInstallationState installationState,
string? executablePath = null,
string? installationDirectory = null
)Initializes a new instance of the StorefrontClientState class.
installationState- Whether the storefront client is installed.
executablePath- The known client executable path, or
null.
installationDirectory- The known client installation directory, or
null.
Properties
ExecutablePathGets the known client executable path.InstallationDirectoryGets the known client installation directory.InstallationStateGets whether the storefront client is installed.UnknownGets a state representing an unknown storefront client installation.
ExecutablePath
public string? ExecutablePath { get; }Gets the known client executable path.
InstallationDirectory
public string? InstallationDirectory { get; }Gets the known client installation directory.
InstallationState
public StorefrontClientInstallationState InstallationState { get; }Gets whether the storefront client is installed.
Unknown
public static StorefrontClientState Unknown { get; }Gets a state representing an unknown storefront client installation.