C# Class ZeroInstall.Commands.CliCommands.IntegrationCommand

Common base class for commands that manage DesktopIntegration.
Inheritance: CliCommand
Afficher le fichier Open project: 0install/0install-win

Protected Properties

Свойство Type Description
NoDownload bool

Méthodes publiques

Méthode Description
Parse ( IEnumerable args ) : void

Méthodes protégées

Méthode Description
CheckInstallBase ( ) : void

Checks the current Locations.InstallBase to determine whether it is suitable for operations that persist it.

This should be called before performing any operations that persist Locations.InstallBase somewhere, e.g. in generated shortcuts or stubs. It is not required for operations that only remove things from the system.

GetAppEntry ( [ integrationManager, [ interfaceUri ) : AppEntry

Finds an existing AppEntry or creates a new one for a specific interface URI.

IntegrationCommand ( [ handler ) : System

Private Methods

Méthode Description
BackgroundDownload ( [ interfaceUri ) : void

Pre-download application in a background proccess for later use.

CreateAppEntry ( [ integrationManager, [ interfaceUri ) : AppEntry
DetectReplacement ( FeedTarget &target ) : void

Detects and handles Feed.ReplacedBy.

Method Details

CheckInstallBase() protected méthode

Checks the current Locations.InstallBase to determine whether it is suitable for operations that persist it.
This should be called before performing any operations that persist Locations.InstallBase somewhere, e.g. in generated shortcuts or stubs. It is not required for operations that only remove things from the system.
The current Zero Install instance is installed in a location unsuitable for the desired operation.
protected CheckInstallBase ( ) : void
Résultat void

GetAppEntry() protected méthode

Finds an existing AppEntry or creates a new one for a specific interface URI.
protected GetAppEntry ( [ integrationManager, [ interfaceUri ) : AppEntry
integrationManager [ Manages desktop integration operations.
interfaceUri [ The interface URI to create an for. Will be updated if is set and accepted by the user.
Résultat AppEntry

IntegrationCommand() protected méthode

protected IntegrationCommand ( [ handler ) : System
handler [
Résultat System

Parse() public méthode

public Parse ( IEnumerable args ) : void
args IEnumerable
Résultat void

Property Details

NoDownload protected_oe property

Do not download the application itself yet.
protected bool NoDownload
Résultat bool