Show / Hide Table of Contents

Class LongOperationHelpers.ProgressLogger

Tracks progress for long operations, logging percent complete and estimated time remaining.

Inheritance
object
LongOperationHelpers.ProgressLogger
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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()

Extension Methods

PingService.PingPong<T>(T, string)
PingService.PingPong<T>(T, string, string)
PingService.PingPong<T, TResult>(T, Func<TResult>, string, string)
PingService.Ping<T>(T, string)
PingService.Ping<T>(T, string, string)
PingService.Ping<T>(T, Type[], string)
PingService.Pong<T>(T, string)
PingService.Pong<T>(T, string, string)
PingService.Pong<T>(T, Type, string)
PingService.Pong<T>(T, Type[], string)
PingService.Pong<T, TResult>(T, Func<TResult>, string, string)
In this article
Back to top Generated by DocFX