C# Class Mercurial.DebugObserver

This class implements IMercurialCommandObserver by simply writing everything to debug output through Debug.WriteLine(string).
Inheritance: IMercurialCommandObserver
Mostrar archivo Open project: TargetProcess/Target-Process-Plugins

Public Methods

Method Description
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.

Method Details

ErrorOutput() public method

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. ///
return void

Executed() public method

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. ///
return void

Executing() public method

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 . ///
return void

Output() public method

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. ///
return void