Exemple #1
0
 public static RaceLapIndex LapIndex(this IDistanceDisciplineCalculator calculator, Distance distance, int index)
 {
     return(new RaceLapIndex(index, calculator.Rounds(distance, index + 1), calculator.RoundsToGo(distance, index + 1), calculator.LapPassedLength(distance, index + 1)));
 }
 public static LapRound LapRound(this IDistanceDisciplineCalculator calculator, IDistance distance, int lap)
 {
     return(new LapRound(calculator.Rounds(distance, lap), calculator.RoundsToGo(distance, lap), calculator.LapPassedLength(distance, lap)));
 }