Skip to content

pescuma/progressmonitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 

Repository files navigation

progressmonitor

A library to allow reporting progress of long tasks to the user.

.Net

Usage example:

var monitor = new ConsoleProgressMonitor();
using (monitor.ConfigureSteps(1, 4, 5)) {
  monitor.StartStep("First step with weight 1");
  ...
  monitor.StartStep("Second step with weight 4");
  DoSomething(monitor.CreateSubMonitor());
  
  monitor.Report("Still working...");
  ...
  monitor.StartStep("Third step with weight 5");
  ...
}

Installing

PM> Install-Package ProgressMonitor