示例#1
0
        public TimeSpan LapCompleted(DateTime date)
        {
            var length = this.StopLastLap(date);

            var lap = new Lap(date);

            this._laps.Add(lap);

            return(length);
        }
示例#2
0
        public void StartRace(DateTime start)
        {
            var lap = new Lap(start);

            this._laps.Add(lap);
        }