C# Класс ZeroInstall.Hooking.RelaunchEntry

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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