C# Класс ZeroInstall.DesktopIntegration.Unix.AppAlias

Contains control logic for applying AccessPoints.AppAlias on Unix systems.
Показать файл Открыть проект

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

Метод Описание
Create ( FeedTarget target, [ command, [ aliasName, [ handler, bool machineWide ) : void

Creates an application alias in the current system.

Remove ( string aliasName, bool machineWide ) : void

Removes an application alias from the current system.

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

Create() публичный статический Метод

Creates an application alias in the current system.
The user canceled the task. A problem occurs while writing to the filesystem. A problem occured while downloading additional data (such as icons). Write access to the filesystem is not permitted.
public static Create ( FeedTarget target, [ command, [ aliasName, [ handler, bool machineWide ) : void
target ZeroInstall.Store.FeedTarget The application being integrated.
command [ The command within the alias shall point to; can be null.
aliasName [ The name of the alias to be created.
handler [ A callback object used when the the user is to be informed about the progress of long-running operations such as downloads.
machineWide bool Create the alias machine-wide instead of just for the current user.
Результат void

Remove() публичный статический Метод

Removes an application alias from the current system.
A problem occurs while writing to the filesystem. Write access to the filesystem is not permitted.
public static Remove ( string aliasName, bool machineWide ) : void
aliasName string The name of the alias to be removed.
machineWide bool The alias was created machine-wide instead of just for the current user.
Результат void