Class ProgressBar
Inheritance
System.Object
ProgressBar
Assembly: Mars.IO.dll
Syntax
public sealed class ProgressBar : ProgressBarBase, IProgressBar, IDisposable
Constructors
ProgressBar(Int32, String, ConsoleColor)
Declaration
public ProgressBar(int maxTicks, string message, ConsoleColor color)
Parameters
Type |
Name |
Description |
System.Int32 |
maxTicks |
|
System.String |
message |
|
ConsoleColor |
color |
|
ProgressBar(Int32, String, ProgressBarOptions)
Declaration
public ProgressBar(int maxTicks, string message, ProgressBarOptions options = null)
Parameters
Type |
Name |
Description |
System.Int32 |
maxTicks |
|
System.String |
message |
|
ProgressBarOptions |
options |
|
Methods
DisplayProgress()
Declaration
protected override void DisplayProgress()
Overrides
Dispose()
Declaration
WriteLine(String)
Declaration
public void WriteLine(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
|
Implements
IDisposable
Extension Methods