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
Afficher le fichier Open project: ArduPilot/MissionPlanner Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
ProcessNewLines ( IEnumerable lines ) : void

Processes the new lines.

Method Details

ProcessNewLines() protected méthode

Processes the new lines.
protected ProcessNewLines ( IEnumerable lines ) : void
lines IEnumerable The lines.
Résultat void

ThrowOnError() public méthode

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

ToString() public méthode

Gets a string that represents the current ConsoleOutputReceiver.
public ToString ( ) : string
Résultat string