ConsoleProgress Class

Class for writing progress to a text console

Definition

Namespace: DHI.Mike1D.Generic
Assembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class ConsoleProgress
Inheritance
Object    ConsoleProgress

Constructors

ConsoleProgressInitializes a new instance of the ConsoleProgress class

Properties

Header Header, reported before progress bar
TimeBetweenUpdates Time between each update, in seconds. Default is 0.2

Methods

CheckProgress Check if now is the time to do progress, based on TimeBetweenUpdates, and if so, do the progress.

if progress is 1 (complete), always do the progress

ClearLine Clear progress line
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Progress Report progress
Start Start progress reporting
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also