示例#1
0
        public CompositeComparisons Clone()
        {
            var clone = new CompositeComparisons();

            clone.Comparisons = new Dictionary <string, Time>(Comparisons);
            return(clone);
        }
示例#2
0
 static StandardComparisonGeneratorsFactory()
 {
     CompositeComparisons.AddShortComparisonName(BestSegmentsComparisonGenerator.ComparisonName, BestSegmentsComparisonGenerator.ShortComparisonName);
     CompositeComparisons.AddShortComparisonName(Run.Run.PersonalBestComparisonName, "PB");
     CompositeComparisons.AddShortComparisonName(AverageSegmentsComparisonGenerator.ComparisonName, AverageSegmentsComparisonGenerator.ShortComparisonName);
     CompositeComparisons.AddShortComparisonName(WorstSegmentsComparisonGenerator.ComparisonName, WorstSegmentsComparisonGenerator.ShortComparisonName);
     CompositeComparisons.AddShortComparisonName(PercentileComparisonGenerator.ComparisonName, PercentileComparisonGenerator.ShortComparisonName);
     CompositeComparisons.AddShortComparisonName(LatestRunComparisonGenerator.ComparisonName, LatestRunComparisonGenerator.ShortComparisonName);
 }