Closed KoalaBear84 closed 3 years ago
You can already achieve this by using AsProgress<float>()
which returns an IProgress<float>
that you can use to report progression as percentage:
using var progressBar = new ProgressBar(10000, "My Progress Message");
var progress = progressBar.AsProgress<float>();
progress.Report(0.107); // 10.7%
Thanks, if this could be added to the readme it would be nice.
I would like to set the progress by percentage.
Something like this:
Currently using hardcoded 1000 ticks and:
Also would be nice to support a single digits after the comma separator, so it will display "10.7%" instead of "10.70%". Also because it's faster to read, and not as
Thanks!