C# Class ZeroInstall.Commands.CommandBase

Common base class for frontend commands.
Inheritance: ServiceLocator
Mostra file Open project: 0install/0install-win

Protected Methods

Method 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

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

Method Details

CommandBase() protected method

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.
return System

SelfUpdateCheck() protected method

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

StartCommandBackground() protected static method

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