C# Class ZeroInstall.Hooking.RelaunchEntry

Afficher le fichier Open project: 0install/0install-win Class Usage Examples

Méthodes publiques

Свойство Type Description
AppID string
BinaryName string
IconPath string
Name string
NeedsTerminal bool
Target string

Méthodes publiques

Méthode 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 méthode

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.
Résultat System

ToString() public méthode

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

Property Details

AppID public_oe property

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

BinaryName public_oe property

The canonical name of the binary supplying the command (without file extensions); can be null.
public string BinaryName
Résultat 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
Résultat string

Name public_oe property

The name to use for pinning this specific window to the taskbar.
public string Name
Résultat string

NeedsTerminal public_oe property

Indicates whether this command requires a terminal to run.
public bool NeedsTerminal
Résultat bool

Target public_oe property

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