public void Add(RaceLapViewModel lap) { if (lap.Flags.HasFlag(RaceEventFlags.Deleted)) { return; } laps.Add(lap); GroupLaps(); }
public PresentRaceLapEventArgs(RaceLapViewModel oldLap, RaceLapViewModel newLap) { this.OldLap = oldLap; this.NewLap = newLap; }
public void InsertLap(RaceLapViewModel lap) { OnPresent(new PresentRaceLapEventArgs(null, lap)); }
public void PresentLap(RaceLapViewModel lap) { OnPresent(new PresentRaceLapEventArgs(Presented, lap)); }
public EditRaceLapEventArgs(RaceLapViewModel lap, TimeSpan newTime) { this.Lap = lap; this.NewTime = newTime; }
public DeleteRaceLapEventArgs(RaceLapViewModel lap) { this.Lap = lap; }