C# Class SharpAdbClient.ConsoleOutputReceiver

Recieves console output, and makes the console output available as a string. To fetch the console output that was received, used the ToString method.
Inheritance: SharpAdbClient.MultiLineReceiver
ファイルを表示 Open project: ArduPilot/MissionPlanner Class Usage Examples

Public Methods

Method Description
ThrowOnError ( string line ) : void

Throws an error message if the console output line contains an error message.

ToString ( ) : string

Gets a string that represents the current ConsoleOutputReceiver.

Protected Methods

Method Description
ProcessNewLines ( IEnumerable lines ) : void

Processes the new lines.

Method Details

ProcessNewLines() protected method

Processes the new lines.
protected ProcessNewLines ( IEnumerable lines ) : void
lines IEnumerable The lines.
return void

ThrowOnError() public method

Throws an error message if the console output line contains an error message.
public ThrowOnError ( string line ) : void
line string /// The line to inspect. ///
return void

ToString() public method

Gets a string that represents the current ConsoleOutputReceiver.
public ToString ( ) : string
return string