Example #1
0
 public void OnProgress(IDataSourceAnalysisHandle handle, Percentage progress)
 {
     if (!ReferenceEquals(handle, _currentAnalysis))
     {
         return;                 //< It's likely that we've received a callback from a previous analysis that we MOST CERTAINLY need to thrash
     }
     if (Percentage.IsNan(progress))
     {
         Progress = Percentage.HundredPercent;
     }
     else
     {
         Progress = progress;
     }
 }