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
파일 보기 프로젝트 열기: ArduPilot/MissionPlanner 1 사용 예제들

공개 메소드들

메소드 설명
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