C# Класс Crabwise.CommandWrap.CommandStartInfo

Specifies a set of values that are used when you execute a command.
Properties of this class are passed to an instance of System.Diagnostics.ProcessStartInfo when spawning the process for this command.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CommandStartInfo ( ) : System

Initializes a new instance of the CommandStartInfo class with empty properties.

CommandStartInfo ( ProcessStartInfo processStartInfo ) : System

Initializes a new instance of the CommandStartInfo class using a ProcessStartInfo object to initialize its properties.

CommandStartInfo ( string path ) : System

Initializes a new instance of the CommandStartInfo class using a path.

Приватные методы

Метод Описание
GetProcessStartInfo ( string fileName ) : ProcessStartInfo

Returns a System.Diagnostics.ProcessStartInfo object which has matching properties of this CommandStartInfo object.

Specifically, the returned System.Diagnostics.ProcessStartInfo object that is returned has the same properties except for CommandStartInfo.Path and CommandStartInfo.WorkingDirectory.

Описание методов

CommandStartInfo() публичный Метод

Initializes a new instance of the CommandStartInfo class with empty properties.
public CommandStartInfo ( ) : System
Результат System

CommandStartInfo() публичный Метод

Initializes a new instance of the CommandStartInfo class using a ProcessStartInfo object to initialize its properties.
public CommandStartInfo ( ProcessStartInfo processStartInfo ) : System
processStartInfo System.Diagnostics.ProcessStartInfo The object to use.
Результат System

CommandStartInfo() публичный Метод

Initializes a new instance of the CommandStartInfo class using a path.
public CommandStartInfo ( string path ) : System
path string The path to use for executing a command.
Результат System