C# 클래스 ZeroInstall.Hooking.RelaunchEntry

파일 보기 프로젝트 열기: 0install/0install-win 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AppID string
BinaryName string
IconPath string
Name string
NeedsTerminal bool
Target string

공개 메소드들

메소드 설명
RelaunchEntry ( string binaryName, string name, string target, bool needsTerminal, string iconPath ) : System

Creates a new relaunch entry.

ToString ( ) : string

Returns the rule in the form "RelaunchEntry (Name): Target". Not safe for parsing!

메소드 상세

RelaunchEntry() 공개 메소드

Creates a new relaunch entry.
public RelaunchEntry ( string binaryName, string name, string target, bool needsTerminal, string iconPath ) : System
binaryName string The canonical name of the binary supplying the command (without file extensions); can be null.
name string The name to use for pinning this specific window to the taskbar.
target string The Zero Install target. This will be used as a command-line argument, escape accordingly.
needsTerminal bool Indicates whether this command requires a terminal to run.
iconPath string The path to the icon to use for pinning this specific window to the taskbar; can be null.
리턴 System

ToString() 공개 메소드

Returns the rule in the form "RelaunchEntry (Name): Target". Not safe for parsing!
public ToString ( ) : string
리턴 string

프로퍼티 상세

AppID 공개적으로 프로퍼티

The application user model ID used by Windows to identify the entry.
public string AppID
리턴 string

BinaryName 공개적으로 프로퍼티

The canonical name of the binary supplying the command (without file extensions); can be null.
public string BinaryName
리턴 string

IconPath 공개적으로 프로퍼티

The path to the icon to use for pinning this specific window to the taskbar; can be null.
public string IconPath
리턴 string

Name 공개적으로 프로퍼티

The name to use for pinning this specific window to the taskbar.
public string Name
리턴 string

NeedsTerminal 공개적으로 프로퍼티

Indicates whether this command requires a terminal to run.
public bool NeedsTerminal
리턴 bool

Target 공개적으로 프로퍼티

The Zero Install target (appended to a "0install run" command, escape accordingly).
public string Target
리턴 string