Class ProgressBar
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mars.Common.IO.Console
Assembly: Mars.IO.dll
Syntax
public sealed class ProgressBar : ProgressBarBase, IProgressBar, IDisposable
Constructors
| Improve this Doc View SourceProgressBar(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 |
ProgressBar(Int32, String, ConsoleColor)
Declaration
public ProgressBar(int maxTicks, string message, ConsoleColor color)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | maxTicks | |
System.String | message | |
System.ConsoleColor | color |
Methods
| Improve this Doc View SourceDisplayProgress()
Declaration
protected override void DisplayProgress()
Overrides
| Improve this Doc View SourceDispose()
Declaration
public void Dispose()
WriteLine(String)
Declaration
public void WriteLine(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
Implements
System.IDisposable