Version 1.0.1

This commit is contained in:
Michael Nolan 2022-04-09 19:20:59 -05:00
parent cb3e6c6d1a
commit 47e5f21315
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ using System.Threading;
/// <summary> /// <summary>
/// An ASCII progress bar /// An ASCII progress bar
/// </summary> /// </summary>
/// https://gist.github.com/DanielSWolf/0ab6a96899cc5377bf54
public class ProgressBar : IDisposable, IProgress<double> { public class ProgressBar : IDisposable, IProgress<double> {
private const int blockCount = 10; private const int blockCount = 10;
private readonly TimeSpan animationInterval = TimeSpan.FromSeconds(1.0 / 8); private readonly TimeSpan animationInterval = TimeSpan.FromSeconds(1.0 / 8);