/// <inheritdoc/> public virtual void Visit(SetDriverPitTimeMessage message) { }
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; }