Simple C# console progress bar for reuse in console applications.
Constructor.
Name | Description |
---|---|
totalUnitsOfWork: | Total amount of work. Used for calculating current percentage complete. |
startingPosition: | Progress bar starting position. Defaults to 0. |
widthInCharacters: | Size of progress bar in characters. Defaults to 40. |
completedColor: | Color for completed portion of progress bar. Defaults to Cyan. |
remainingColor: | Color for incomplete portion of progress bar. Defaults to Black. |
Draws progress bar.
Name | Description |
---|---|
currentUnitOfWork: | Current unit of work in relation to TotalUnitsOfWork. |