C# 클래스 ZeroInstall.DesktopIntegration.Unix.AppAlias

Contains control logic for applying AccessPoints.AppAlias on Unix systems.
파일 보기 프로젝트 열기: 0install/0install-win

공개 메소드들

메소드 설명
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