Stubbed out Progress writer class

This commit is contained in:
Chomp
2025-01-14 12:50:07 +00:00
parent dab11c82f0
commit d3f4b63b23
+33
View File
@@ -0,0 +1,33 @@
namespace Core.Utils
{
public class ProgressWriter
{
private readonly int _total;
private readonly int? _maxBarLength;
private readonly string? _barFillChar;
private readonly string? _barEmptyChar;
public ProgressWriter(int total, int maxBarLength, string barFillChar, string barEmptyChar)
{
_total = total;
_maxBarLength = maxBarLength;
_barFillChar = barFillChar;
_barEmptyChar = barEmptyChar;
}
public ProgressWriter(int total)
{
_total = total;
_maxBarLength = 25;
_barFillChar = "\u2593";
_barEmptyChar = "\u2591";
}
public void Increment()
{
// TODO - implement
}
}
}