C# Class Mongo2Go.Helper.ProcessControl

Afficher le fichier Open project: JohannesHoppe/Mongo2Go Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public static ProcessFactory ( string fileName, string arguments ) : Mongo2Go.Helper.WrappedProcess
fileName string
arguments string
Résultat Mongo2Go.Helper.WrappedProcess

StartAndWaitForExit() public static méthode

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

StartAndWaitForReady() public static méthode

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
Résultat Mongo2Go.Helper.ProcessOutput