Table of Contents

Class Self

Namespace
ZeroInstall.Commands.Desktop
Assembly
0install.dll

Manages the integration of Zero Install itself in the operating system (deployment and removal).

public sealed class Self : CliMultiCommand
Inheritance
Self
Inherited Members

Constructors

Self(ICommandHandler)

Manages the integration of Zero Install itself in the operating system (deployment and removal).

public Self(ICommandHandler handler)

Parameters

handler ICommandHandler

Fields

AltName

public const string AltName = "maintenance"

Field Value

string

Name

public const string Name = "self"

Field Value

string

Properties

SubCommandNames

A list of sub-command names (without alternatives) as used in command-line arguments in lower-case.

public override IEnumerable<string> SubCommandNames { get; }

Property Value

IEnumerable<string>

Methods

GetCommand(string)

Creates a new sub-CliCommand based on a name.

public override CliCommand GetCommand(string commandName)

Parameters

commandName string

The command name to look for; case-insensitive.

Returns

CliCommand

The requested sub-CliCommand.

Exceptions

OptionException

commandName is an unknown command.

IOException

There was a problem accessing a configuration file or one of the stores.

UnauthorizedAccessException

Access to a configuration file or one of the stores was not permitted.

InvalidDataException

A configuration file is damaged.