Interface
ITaskbarProgressSource
ConsoleMonster.Output
A widget that contributes to the terminal's progress indicator while it is in a live session: progress bars and lanes report a percentage, spinners and activities report work in progress, a dashboard reports failures and warnings. Implement it on custom widgets to take part.
Methods
public abstract bool TryGetTaskbarProgress(out TaskbarState state, out double fraction) #The widget's contribution, if any.
Parameters
- state ConsoleMonster.Output.TaskbarState
- The state (Normal, Indeterminate, Error or Paused).
- fraction double
- The fraction done (0 to 1), or NaN when unknown.
Returns
bool False when the widget has nothing to report.