/// <summary> /// Notify subscribers that progress has changed. /// </summary> /// <param name="current"> /// The current progress value. /// </param> /// <param name="total"> /// The total value against which progress is measured. /// </param> /// <param name="percentComplete"> /// The percentage of completion. /// </param> protected void NotifyProgressChanged(TValue current, TValue total, int percentComplete) { _progressDataSubject.OnNext(ProgressData.Create( percentComplete, current, total )); }