Example #1
0
 public void ReportDeterminate(int percentage, string info)
 {
     this.LastProgress = TaskProgress.Det(percentage, info);
     this.ProgressReported?.Invoke(this.LastProgress);
 }
Example #2
0
 public void ReportInDeterminate(string info)
 {
     this.LastProgress = TaskProgress.InDet(info);
     this.ProgressReported?.Invoke(this.LastProgress);
 }
Example #3
0
 public TaskProgressReporter()
 {
     this.LastProgress = TaskProgress.InDet("no progress has been reported yet");
 }