public ProgressTracker(ProgressStatus progressStatus, Action<ProgressRecord> progress, Action<TimeSpan> complete, TimeSpan progressInterval)
 {
     this.progressStatus = progressStatus;
     this.progress = progress;
     this.complete = complete;
     this.progressInterval = progressInterval;
     this.stopWatch = new Stopwatch();
     InitilizeProgressTimer();
 }
 public ProgressTracker(ProgressStatus progressStatus)
     : this(progressStatus, Program.SyncOutput.ProgressUploadStatus, Program.SyncOutput.ProgressUploadComplete, TimeSpan.FromSeconds(1))
 {
 }
Example #3
0
 public ProgressTracker(ProgressStatus progressStatus) :
     this(progressStatus, Program.SyncOutput.ProgressUploadStatus, Program.SyncOutput.ProgressUploadComplete, TimeSpan.FromSeconds(1))
 {
 }