public static RacePassingState FromPassing(RacePassing passing)
 {
     return(new RacePassingState(passing.Race, passing.InstanceName, passing.PresentationSource, passing.Where, passing.When, passing.Time, passing.Passed,
                                 passing.Speed, passing.Flags));
 }
Example #2
0
 public RacePassingUpdatedEventArgs(Guid raceId, PresentationSource presentationSource, TimeSpan oldTime, RacePassing passing)
     : base(passing)
 {
     this.RaceId             = raceId;
     this.OldTime            = oldTime;
     this.PresentationSource = presentationSource;
 }