C# Class 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.
Afficher le fichier Open project: CrabwiseStudios/CommandWrap Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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.

Method Details

CommandStartInfo() public méthode

Initializes a new instance of the CommandStartInfo class with empty properties.
public CommandStartInfo ( ) : System
Résultat System

CommandStartInfo() public méthode

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

CommandStartInfo() public méthode

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