AK.F1.Timing.Model.Session.FastestTimesModel.SetLap C# (CSharp) Method

SetLap() private method

Sets the new fastest lap time.
private SetLap ( int driverId, System.TimeSpan time, int lapNumber ) : void
driverId int The Id of the driver which posted the time.
time System.TimeSpan The time.
lapNumber int The lap number on which the time was set.
return void
        private void SetLap(int driverId, TimeSpan time, int lapNumber)
        {
            Lap = CreateFastestTime(DriverLocator.GetDriver(driverId), time, lapNumber, Lap);
        }