C# Класс 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.
Наследование: SharpAdbClient.MultiLineReceiver
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
ProcessNewLines ( IEnumerable lines ) : void

Processes the new lines.

Описание методов

ProcessNewLines() защищенный Метод

Processes the new lines.
protected ProcessNewLines ( IEnumerable lines ) : void
lines IEnumerable The lines.
Результат void

ThrowOnError() публичный Метод

Throws an error message if the console output line contains an error message.
public ThrowOnError ( string line ) : void
line string /// The line to inspect. ///
Результат void

ToString() публичный Метод

Gets a string that represents the current ConsoleOutputReceiver.
public ToString ( ) : string
Результат string