Esempio n. 1
0
 public static void ClearTimes(this IRun run)
 {
     run.ClearHistory();
     run.CustomComparisons.Clear();
     run.CustomComparisons.Add(Model.Run.PersonalBestComparisonName);
     foreach (var segment in run)
     {
         segment.Comparisons.Clear();
         segment.BestSegmentTime = default(Time);
     }
     run.AttemptCount   = 0;
     run.Metadata.RunID = null;
 }