Table of Contents

Class CliBootstrapHandler

Namespace
ZeroInstall.Bootstrap
Assembly
ZeroInstall.Bootstrap.dll

Informs the user about the progress of tasks and ask questions during the bootstrap process using console output.

public class CliBootstrapHandler : CliTaskHandler, IBootstrapHandler, ITaskHandler, IDisposable
Inheritance
object
CliBootstrapHandler
Implements
Inherited Members

Remarks

This class is thread-safe.

Constructors

CliBootstrapHandler()

public CliBootstrapHandler()

Properties

Background

Hides the GUI. Has no effect when IsGui is false.

public bool Background { get; set; }

Property Value

bool

IsGui

Indicates whether this handler is a GUI.

public bool IsGui { get; }

Property Value

bool

Methods

GetCustomStorePath(bool, string?)

Asks the user to provide a custom path for storing implementations.

public string? GetCustomStorePath(bool machineWide, string? currentPath)

Parameters

machineWide bool

Ask for a path for machine-wide deployment instead of just for the current user.

currentPath string

The currently set custom path for storing implementations; null if using default location.

Returns

string

The path to a directory; null or empty to use the default location.

Exceptions

OperationCanceledException

The user cancelled the operation.