Table of Contents

Class CLProgressBar

Namespace
SunamoCl
Assembly
SunamoCl.dll

Wraps ShellProgressBar to provide a simple progress bar for console applications

public class CLProgressBar : IDisposable
Inheritance
CLProgressBar
Implements
Inherited Members
Extension Methods

Properties

WriteOnlyDividableBy

Gets or sets the divisor value for writing progress updates only when the count is divisible by this value

public int WriteOnlyDividableBy { get; set; }

Property Value

int

Methods

Dispose()

Disposes the underlying progress bar resources

public void Dispose()

Done()

Completes the progress bar by ticking to the total count and disposing it

public void Done()

DoneOne()

Increments the progress bar by one completed item

public void DoneOne()

Start(int, string, ProgressBarOptions)

Starts the progress bar with the specified total count, message and options

public void Start(int totalCount, string message, ProgressBarOptions progressBarOptions)

Parameters

totalCount int

Total number of items to track

message string

Message to display alongside the progress bar

progressBarOptions ProgressBarOptions

Options for customizing the progress bar appearance