C# Класс ZeroInstall.Commands.CliCommands.IntegrationCommand

Common base class for commands that manage DesktopIntegration.
Наследование: CliCommand
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
NoDownload bool

Открытые методы

Метод Описание
Parse ( IEnumerable args ) : void

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
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.

Описание методов

CheckInstallBase() защищенный Метод

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
Результат void

GetAppEntry() защищенный Метод

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.
Результат AppEntry

IntegrationCommand() защищенный Метод

protected IntegrationCommand ( [ handler ) : System
handler [
Результат System

Parse() публичный Метод

public Parse ( IEnumerable args ) : void
args IEnumerable
Результат void

Описание свойств

NoDownload защищенное свойство

Do not download the application itself yet.
protected bool NoDownload
Результат bool