C# Class NanoByte.Common.Cli.ProgressBar

Inheritance: System.MarshalByRefObject, IDisposable
Exibir arquivo Open project: nano-byte/common

Private Properties

Property Type Description
DrawSimple void
IDisposable void

Public Methods

Method Description
Done ( ) : void

Stops the progress bar by writing a line break to the Console.

Draw ( ) : void

Draws the progress-bar to Console.Error.

The current line is overwritten.

Protected Methods

Method Description
DrawPretty ( ) : void

Private Methods

Method Description
DrawSimple ( ) : void
IDisposable ( ) : void

Stops the progress bar by writing a line break to the Console.

Method Details

Done() public method

Stops the progress bar by writing a line break to the Console.
public Done ( ) : void
return void

Draw() public method

Draws the progress-bar to Console.Error.
The current line is overwritten.
The progress bar could not be drawn to the (e.g. if it isn't a TTY).
public Draw ( ) : void
return void

DrawPretty() protected method

protected DrawPretty ( ) : void
return void