C# 클래스 Monobjc.Tools.Utilities.ProcessHelper

Helper class used to launch an external process and to capture its output.
상속: IDisposable
파일 보기 프로젝트 열기: Monobjc/monobjc-tools 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Execute ( ) : int

Executes this external process.

ExecuteAndReturnOutput ( ) : String

Executes this external process.

ProcessHelper ( String command, String arguments ) : System

Initializes a new instance of the ProcessHelper class.

비공개 메소드들

메소드 설명
ProcessErrorDataReceived ( object sender, DataReceivedEventArgs e ) : void

Handles the ErrorDataReceived event of the Process control.

ProcessOutputDataReceived ( object sender, DataReceivedEventArgs e ) : void

Handles the OutputDataReceived event of the Process control.

메소드 상세

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

Execute() 공개 메소드

Executes this external process.
public Execute ( ) : int
리턴 int

ExecuteAndReturnOutput() 공개 메소드

Executes this external process.
public ExecuteAndReturnOutput ( ) : String
리턴 String

ProcessHelper() 공개 메소드

Initializes a new instance of the ProcessHelper class.
public ProcessHelper ( String command, String arguments ) : System
command String The command.
arguments String The arguments.
리턴 System