C# Class ZeroInstall.Hooking.RelaunchEntry

显示文件 Open project: 0install/0install-win Class Usage Examples

Public Properties

Property Type Description
AppID string
BinaryName string
IconPath string
Name string
NeedsTerminal bool
Target string

Public Methods

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

Method Details

RelaunchEntry() public method

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

ToString() public method

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

Property Details

AppID public_oe property

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

BinaryName public_oe property

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

IconPath public_oe property

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

Name public_oe property

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

NeedsTerminal public_oe property

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

Target public_oe property

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