C# Class HDLToolkit.StandardProcess

Inheritance: IDisposable
Mostrar archivo Open project: nathanrossi/hdl-toolkit Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
ExecuteProcess ( string workingDirectory, string executable, List arguments ) : ProcessHelper.ProcessExecutionResult
Kill ( ) : void
ProcessWriteLine ( string line ) : void
StandardProcess ( string executable ) : System
StandardProcess ( string executable, List arguments ) : System
StandardProcess ( string executable, string workingDirectory ) : System
StandardProcess ( string executable, string workingDirectory, List arguments ) : System
Start ( ) : void
WaitForExit ( ) : void

Protected Methods

Method Description
CreateProcess ( ) : Process
ExecuteProcessObject ( StandardProcess process ) : ProcessHelper.ProcessExecutionResult
GetExecutablePath ( string executable ) : string
ProcessErrorLine ( string line ) : void
ProcessLine ( string line ) : void

Method Details

CreateProcess() protected method

protected CreateProcess ( ) : Process
return System.Diagnostics.Process

Dispose() public method

public Dispose ( ) : void
return void

ExecuteProcess() public static method

public static ExecuteProcess ( string workingDirectory, string executable, List arguments ) : ProcessHelper.ProcessExecutionResult
workingDirectory string
executable string
arguments List
return ProcessHelper.ProcessExecutionResult

ExecuteProcessObject() protected static method

protected static ExecuteProcessObject ( StandardProcess process ) : ProcessHelper.ProcessExecutionResult
process StandardProcess
return ProcessHelper.ProcessExecutionResult

GetExecutablePath() protected method

protected GetExecutablePath ( string executable ) : string
executable string
return string

Kill() public method

public Kill ( ) : void
return void

ProcessErrorLine() protected method

protected ProcessErrorLine ( string line ) : void
line string
return void

ProcessLine() protected method

protected ProcessLine ( string line ) : void
line string
return void

ProcessWriteLine() public method

public ProcessWriteLine ( string line ) : void
line string
return void

StandardProcess() public method

public StandardProcess ( string executable ) : System
executable string
return System

StandardProcess() public method

public StandardProcess ( string executable, List arguments ) : System
executable string
arguments List
return System

StandardProcess() public method

public StandardProcess ( string executable, string workingDirectory ) : System
executable string
workingDirectory string
return System

StandardProcess() public method

public StandardProcess ( string executable, string workingDirectory, List arguments ) : System
executable string
workingDirectory string
arguments List
return System

Start() public method

public Start ( ) : void
return void

WaitForExit() public method

public WaitForExit ( ) : void
return void