Inheritance: DriverMessageBase
 /// <inheritdoc/>
 public virtual void Visit(SetDriverPitTimeMessage message)
 {
 }
示例#2
0
 public void Visit(SetDriverPitTimeMessage message)
 {
     Result = true;
 }
 /// <inheritdoc/>
 public override void Visit(SetDriverPitTimeMessage message)
 {
     if(IsForMyDriver(message))
     {
         Model.PitTimes.Add(message.PitTime);
     }
 }
 void IMessageVisitor.Visit(SetDriverPitTimeMessage message)
 {
     Dispatch(message);
 }
 /// <inheritdoc/>
 public override void Visit(SetDriverPitTimeMessage message)
 {
     GetDriver(message).IsExpectingPitTimes = false;
 }