C# Class ZeroInstall.Hooking.RelaunchEntry

Show file 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 property

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

BinaryName public property

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

IconPath public 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 property

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

NeedsTerminal public property

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

Target public property

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