C# Class ZeroInstall.Commands.CommandBase

Common base class for frontend commands.
Inheritance: ServiceLocator
Afficher le fichier Open project: 0install/0install-win

Méthodes protégées

Méthode Description
CommandBase ( [ handler ) : System

Creates a new command base.

SelfUpdateCheck ( ) : void

Periodically checks Zero Install itself for updates in a background proccess.

StartCommandBackground ( [ command ) : void

Starts executing a "0install" command in a background process. Returns immediately.

Private Methods

Méthode Description
FindByShortName ( [ shortName ) : Feed
GetCanonicalUri ( string uri ) : FeedUri
GetCatalog ( ) : Catalog
ResolveAlias ( string aliasName ) : FeedUri
TryResolveCatalog ( string shortName ) : FeedUri

Method Details

CommandBase() protected méthode

Creates a new command base.
protected CommandBase ( [ handler ) : System
handler [ A callback object used when the the user needs to be asked questions or informed about download and IO tasks.
Résultat System

SelfUpdateCheck() protected méthode

Periodically checks Zero Install itself for updates in a background proccess.
protected SelfUpdateCheck ( ) : void
Résultat void

StartCommandBackground() protected static méthode

Starts executing a "0install" command in a background process. Returns immediately.
protected static StartCommandBackground ( [ command ) : void
command [ The of the command to execute.
Résultat void