예제 #1
0
 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)
 {
 }
예제 #3
0
 public ProgressTracker(ProgressStatus progressStatus) :
     this(progressStatus, Program.SyncOutput.ProgressUploadStatus, Program.SyncOutput.ProgressUploadComplete, TimeSpan.FromSeconds(1))
 {
 }
예제 #4
0
 public ProgressTracker(ProgressStatus progressStatus) :
     this(progressStatus, Program.SyncOutput.ProgressUploadStatus, Program.SyncOutput.ProgressUploadComplete, TimeSpan.FromSeconds(1))
 {
 }