Class BootstrapProcess
- Namespace
- ZeroInstall.Bootstrap
- Assembly
- ZeroInstall.Bootstrap.dll
Represents the process of downloading and running an instance of Zero Install. Handles command-line arguments.
public sealed class BootstrapProcess : ServiceProvider
- Inheritance
-
objectBootstrapProcess
- Inherited Members
Constructors
BootstrapProcess(IBootstrapHandler)
Creates a new bootstrap process.
public BootstrapProcess(IBootstrapHandler handler)
Parameters
handlerIBootstrapHandlerA callback object used when the the user needs to be asked questions or informed about download and IO tasks.
Methods
Execute(IEnumerable<string>)
Executes the bootstrap process controlled by command-line arguments.
public ExitCode Execute(IEnumerable<string> args)
Parameters
argsIEnumerable<string>The command-line arguments to handle.
Returns
- ExitCode
The exit status code to end the process with.