C# Class GooglePlayServices.CommandLineDialog.ProgressReporter

Forwards the output of the currently executing command to a CommandLineDialog window.
Inheritance: CommandLine.LineReader
显示文件 Open project: googlesamples/unity-jar-resolver Class Usage Examples

Public Properties

Property Type Description
maxProgressLines int

Public Methods

Method Description
CommandLineToolCompletion ( CommandLine result ) : void

Called when the currently executing command completes.

ProgressReporter ( CommandLine handler = null ) : System.Collections.Generic

Construct a new reporter.

Update ( CommandLineDialog window ) : void

Called from CommandLineDialog in the context of the main / UI thread.

Private Methods

Method Description
CommandLineIOHandler ( Process process, StreamWriter stdin, CommandLine data ) : void

Called from RunCommandLine() tool to report the output of the currently executing commmand.

CountLines ( string str ) : int

Method Details

CommandLineToolCompletion() public method

Called when the currently executing command completes.
public CommandLineToolCompletion ( CommandLine result ) : void
result CommandLine
return void

ProgressReporter() public method

Construct a new reporter.
public ProgressReporter ( CommandLine handler = null ) : System.Collections.Generic
handler CommandLine
return System.Collections.Generic

Update() public method

Called from CommandLineDialog in the context of the main / UI thread.
public Update ( CommandLineDialog window ) : void
window CommandLineDialog
return void

Property Details

maxProgressLines public_oe property

Used to scale the progress bar by the number of lines reported by the command line tool.
public int maxProgressLines
return int