C# 클래스 Mercurial.DebugObserver

This class implements IMercurialCommandObserver by simply writing everything to debug output through Debug.WriteLine(string).
상속: IMercurialCommandObserver
파일 보기 프로젝트 열기: TargetProcess/Target-Process-Plugins

공개 메소드들

메소드 설명
ErrorOutput ( string line ) : void

This method will be called once for each line of error output from the command. Note that this method will be called on a different thread than the thread that called the NonPersistentClient.Execute(string,Mercurial.IMercurialCommand) method.

Executed ( string command, string arguments, int exitCode, string output, string errorOutput ) : void

This method will be called after the command has terminated (either timed out or completed by itself.)

Executing ( string command, string arguments ) : void

This method will be called before the command starts executing.

Output ( string line ) : void

This method will be called once for each line of normal output from the command. Note that this method will be called on a different thread than the thread that called the NonPersistentClient.Execute(string,Mercurial.IMercurialCommand) method.

메소드 상세

ErrorOutput() 공개 메소드

This method will be called once for each line of error output from the command. Note that this method will be called on a different thread than the thread that called the NonPersistentClient.Execute(string,Mercurial.IMercurialCommand) method.
public ErrorOutput ( string line ) : void
line string /// The line of error text to output to the observer. ///
리턴 void

Executed() 공개 메소드

This method will be called after the command has terminated (either timed out or completed by itself.)
public Executed ( string command, string arguments, int exitCode, string output, string errorOutput ) : void
command string /// The command that was executed. ///
arguments string /// The arguments to the . ///
exitCode int /// The exit code from the process after it finished. ///
output string /// The standard output text from the process. ///
errorOutput string /// The error output text from the process. ///
리턴 void

Executing() 공개 메소드

This method will be called before the command starts executing.
public Executing ( string command, string arguments ) : void
command string /// The command that will be executed. ///
arguments string /// The arguments to the . ///
리턴 void

Output() 공개 메소드

This method will be called once for each line of normal output from the command. Note that this method will be called on a different thread than the thread that called the NonPersistentClient.Execute(string,Mercurial.IMercurialCommand) method.
public Output ( string line ) : void
line string /// The line of text to output to the observer. ///
리턴 void