Table of Contents

Class TrustMan

Namespace
ZeroInstall.Commands.Basic
Assembly
0install.dll

Manages the contents of the TrustDB.

public sealed class TrustMan : CliMultiCommand
Inheritance
TrustMan
Inherited Members

Constructors

TrustMan(ICommandHandler)

Manages the contents of the TrustDB.

public TrustMan(ICommandHandler handler)

Parameters

handler ICommandHandler

Fields

Name

public const string Name = "trust"

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.