NanoByte.Common  2.6.1
NanoByte.Common.Cli.TaskProgressBar Class Reference

A progress bar rendered on the Console that takes TaskSnapshot inputs. More...

Inheritance diagram for NanoByte.Common.Cli.TaskProgressBar:
NanoByte.Common.Cli.ProgressBar

Public Member Functions

void Report (TaskSnapshot value)
 
- Public Member Functions inherited from NanoByte.Common.Cli.ProgressBar
void Draw ()
 Draws the progress-bar to Console.Error. More...
 
virtual void Done ()
 Stops the progress bar by writing a line break to the Console. More...
 

Protected Member Functions

override void DrawPretty ()
 

Properties

TaskState State [get, set]
 The current State of the task. More...
 
- Properties inherited from NanoByte.Common.Cli.ProgressBar
int Maximum [get, set]
 The maximum valid value for Value; must be greater than 0. Determines the length of the progress bar in console characters. More...
 
int Value [get, set]
 The progress of the task as a value between 0 and Maximum; -1 when unknown. More...
 

Detailed Description

A progress bar rendered on the Console that takes TaskSnapshot inputs.

Property Documentation

◆ State

TaskState NanoByte.Common.Cli.TaskProgressBar.State
getset

The current State of the task.


The documentation for this class was generated from the following file: