Class LongOperationHelpers.ProgressLogger
Tracks progress for long operations, logging percent complete and estimated time remaining.
Inherited Members
Namespace: CoverageKiller2
Assembly: CoverageKiller2.dll
Syntax
public class LongOperationHelpers.ProgressLogger
Constructors
ProgressLogger(string, int, int, double)
Declaration
public ProgressLogger(string label, int total, int logEveryCount = 50, double logEverySeconds = 2)
Parameters
Type | Name | Description |
---|---|---|
string | label | |
int | total | |
int | logEveryCount | |
double | logEverySeconds |
Methods
Finish()
Logs final elapsed time at end of operation.
Declaration
public void Finish()
Report()
Increments progress and logs status when thresholds are reached.
Declaration
public void Report()