C# Class Mongo2Go.Helper.ProcessControl

ファイルを表示 Open project: JohannesHoppe/Mongo2Go Class Usage Examples

Public Methods

Method Description
ProcessFactory ( string fileName, string arguments ) : Mongo2Go.Helper.WrappedProcess
StartAndWaitForExit ( Process process, string windowTitle ) : Mongo2Go.Helper.ProcessOutput
StartAndWaitForReady ( Process process, int timeoutInSeconds, string processReadyIdentifier, string windowTitle ) : Mongo2Go.Helper.ProcessOutput

Reads from Output stream to determine if process is ready

Method Details

ProcessFactory() public static method

public static ProcessFactory ( string fileName, string arguments ) : Mongo2Go.Helper.WrappedProcess
fileName string
arguments string
return Mongo2Go.Helper.WrappedProcess

StartAndWaitForExit() public static method

public static StartAndWaitForExit ( Process process, string windowTitle ) : Mongo2Go.Helper.ProcessOutput
process System.Diagnostics.Process
windowTitle string
return Mongo2Go.Helper.ProcessOutput

StartAndWaitForReady() public static method

Reads from Output stream to determine if process is ready
public static StartAndWaitForReady ( Process process, int timeoutInSeconds, string processReadyIdentifier, string windowTitle ) : Mongo2Go.Helper.ProcessOutput
process System.Diagnostics.Process
timeoutInSeconds int
processReadyIdentifier string
windowTitle string
return Mongo2Go.Helper.ProcessOutput