Simple progress monitoring
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
csharp
.gitignore
LICENSE
README.md

README.md

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