C# 클래스 Talifun.Commander.Executor.CommandLine.CommandLineExecutor

상속: IExectutor
파일 보기 프로젝트 열기: taliesins/talifun-commander 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
DataReceivedEventHandlerError DataReceivedEventHandler
DataReceivedEventHandlerOutput DataReceivedEventHandler
Output StringBuilder
UnableToExecuteCommand bool

공개 메소드들

메소드 설명
Execute ( CancellationToken cancellationToken, string workingDirectory, string commandPath, string commandArguments, string &output ) : bool

보호된 메소드들

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

메소드 상세

Execute() 공개 메소드

public Execute ( CancellationToken cancellationToken, string workingDirectory, string commandPath, string commandArguments, string &output ) : bool
cancellationToken System.Threading.CancellationToken
workingDirectory string
commandPath string
commandArguments string
output string
리턴 bool

OnErrorDataReceived() 보호된 메소드

protected OnErrorDataReceived ( object sender, DataReceivedEventArgs e ) : void
sender object
e System.Diagnostics.DataReceivedEventArgs
리턴 void

OnOutputDataReceived() 보호된 메소드

protected OnOutputDataReceived ( object sender, DataReceivedEventArgs e ) : void
sender object
e System.Diagnostics.DataReceivedEventArgs
리턴 void

프로퍼티 상세

DataReceivedEventHandlerError 보호되어 있는 프로퍼티

protected DataReceivedEventHandler DataReceivedEventHandlerError
리턴 DataReceivedEventHandler

DataReceivedEventHandlerOutput 보호되어 있는 프로퍼티

protected DataReceivedEventHandler DataReceivedEventHandlerOutput
리턴 DataReceivedEventHandler

Output 보호되어 있는 프로퍼티

protected StringBuilder Output
리턴 StringBuilder

UnableToExecuteCommand 보호되어 있는 프로퍼티

protected bool UnableToExecuteCommand
리턴 bool