Zero Install .NET API  2.21.0
ZeroInstall.Commands.Basic.TrustMan.Add Class Reference
Inheritance diagram for ZeroInstall.Commands.Basic.TrustMan.Add:
ZeroInstall.Commands.Basic.TrustMan.TrustSubCommand ZeroInstall.Commands.CliCommand ZeroInstall.Commands.ICliSubCommand ZeroInstall.Commands.ScopedOperation ZeroInstall.Services.ServiceProvider

Public Member Functions

 Add (ICommandHandler handler)
 
override ExitCode Execute ()
 Executes the commands specified by the command-line arguments. Must call Parse first!
 
- Public Member Functions inherited from ZeroInstall.Commands.CliCommand
virtual void Parse (IReadOnlyList< string > args)
 Parses command-line arguments and stores the result in the command. More...
 
- Public Member Functions inherited from ZeroInstall.Commands.ScopedOperation
FeedUri GetCanonicalUri (string uri)
 Converts an interface or feed URI to its canonical representation. More...
 
- Public Member Functions inherited from ZeroInstall.Services.ServiceProvider
 ServiceProvider (ITaskHandler handler)
 Creates a new service provider. More...
 

Static Public Attributes

const string Name = "add"
 

Properties

override string Description [get]
 
override string Usage [get]
 
override int AdditionalArgsMin [get]
 
override int AdditionalArgsMax [get]
 
- Properties inherited from ZeroInstall.Commands.Basic.TrustMan.TrustSubCommand
string ParentName [get]
 
- Properties inherited from ZeroInstall.Commands.CliCommand
string???? FullName [get]
 The full name of this command (including sub-commands) as used in command-line arguments in lower-case. More...
 
abstract string Description [get]
 A short description of what this command does. More...
 
abstract string Usage [get]
 The additional arguments to be displayed after the command name in the help text. More...
 
virtual int AdditionalArgsMin [get]
 The minimum number of AdditionalArgs allowed. Checked in Parse. More...
 
virtual int AdditionalArgsMax [get]
 The maximum number of AdditionalArgs allowed. Checked in Parse. More...
 
string HelpText [get]
 The help text describing the available command-line options and their effects. More...
 
new ICommandHandler Handler [get]
 A callback object used when the the user needs to be asked questions or informed about download and IO tasks. More...
 
- Properties inherited from ZeroInstall.Services.ServiceProvider
ITaskHandler Handler [get]
 A callback object used when the the user needs to be asked questions or informed about download and IO tasks. More...
 
virtual Config Config [get]
 User settings controlling network behaviour, solving, etc. More...
 
virtual IImplementationStore ImplementationStore = ImplementationStores.Default() [get, set]
 Describes an object that allows the storage and retrieval of Implementation directories. More...
 
virtual IOpenPgp OpenPgp = Store.Trust.OpenPgp.Verifying() [get, set]
 Provides access to an encryption/signature system compatible with the OpenPGP standard. More...
 
virtual IFeedCache FeedCache [get]
 Provides access to a cache of Feeds that were downloaded via HTTP(S). More...
 
virtual ITrustManager TrustManager [get]
 Methods for verifying signatures and user trust. More...
 
virtual IFeedManager FeedManager [get]
 Allows configuration of the source used to request Feeds. More...
 
virtual ICatalogManager CatalogManager [get]
 Provides access to remote and local Catalogs. Handles downloading, signature verification and caching. More...
 
virtual IPackageManager PackageManager [get]
 An external package manager that can install PackageImplementations. More...
 
virtual ISelectionCandidateProvider SelectionCandidateProvider [get]
 Generates SelectionCandidates for the Solver to choose among. More...
 
virtual ISolver Solver [get]
 Chooses a set of Implementations to satisfy the requirements of a program and its user. More...
 
virtual IFetcher Fetcher [get]
 Used to download missing Implementations. More...
 
virtual IExecutor Executor [get]
 Executes a Selections document as a program using dependency injection. More...
 
virtual ISelectionsManager SelectionsManager [get]
 Provides methods for filtering Selections. More...
 
- Properties inherited from ZeroInstall.Commands.ICliSubCommand
string ParentName [get]
 The name of the CliMultiCommand this command is a sub-command of. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from ZeroInstall.Commands.CliCommand
static CliCommand Create (string? commandName, ICommandHandler handler)
 Creates a new CliCommand based on a name. More...
 
static CliCommand CreateAndParse (IReadOnlyList< string > args, ICommandHandler handler)
 Parses command-line arguments, automatically creating an appropriate CliCommand. More...
 
static ? string GetCommandName (ref IReadOnlyList< string > args)
 Determines the command name specified in the command-line arguments. More...
 
- Protected Member Functions inherited from ZeroInstall.Commands.Basic.TrustMan.TrustSubCommand
 TrustSubCommand (ICommandHandler handler)
 
- Protected Member Functions inherited from ZeroInstall.Commands.CliCommand
 CliCommand (ICommandHandler handler)
 Creates a new command. More...
 
void FetchAll (IEnumerable< Implementation > implementations)
 Downloads a set of Implementations to the Store in parallel. More...
 
ParallelQuery< T > AsParallel< T > (IEnumerable< T > elements)
 Prepares the elements for parallel processing while respecting Config.MaxParallelDownloads and ITaskHandler.CancellationToken. More...
 
- Protected Member Functions inherited from ZeroInstall.Commands.ScopedOperation
 ScopedOperation (ITaskHandler handler)
 Creates a new command base. More...
 
Catalog GetCatalog ()
 Returns a merged view of all Catalogs specified by the configuration files. More...
 
FeedFindByShortName (string shortName)
 Uses Catalog.FindByShortName to find a Feed matching a specific short name. More...
 
void BackgroundSelfUpdate ()
 Automatically updates Zero Install itself in a background process. More...
 
- Static Protected Member Functions inherited from ZeroInstall.Commands.CliCommand
static string SupportedValues< T > (params T[] values)
 Generates a localized instruction string describing multiple selectable values. More...
 
static string SupportedValues< T > ()
 Generates a localized instruction string describing multiple selectable enum values. More...
 
- Static Protected Member Functions inherited from ZeroInstall.Commands.ScopedOperation
static void StartCommandBackground (string command, params string[] args)
 Starts executing a command in a background process. Returns immediately. More...
 
- Protected Attributes inherited from ZeroInstall.Commands.CliCommand
readonly List< string > AdditionalArgs = new()
 Feeds to add, terms to search for, etc. More...
 
- Package Attributes inherited from ZeroInstall.Commands.CliCommand
readonly OptionSet Options = new()
 The command-line argument parser used to evaluate user input. More...
 
- Static Package Attributes inherited from ZeroInstall.Commands.CliCommand
static readonly string[] Names
 A list of command names (without alternatives) as used in command-line arguments in lower-case. More...
 

The documentation for this class was generated from the following file: