C# Class ZeroInstall.DesktopIntegration.Unix.AppAlias

Contains control logic for applying AccessPoints.AppAlias on Unix systems.
Mostrar archivo Open project: 0install/0install-win

Public Methods

Method Description
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.

Method Details

Create() public static method

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

Remove() public static method

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