Inheritance: DriverMessageBase
Exemplo n.º 1
0
 /// <inheritdoc/>
 public virtual void Visit(SetDriverSpeedMessage message)
 {
 }
 void IMessageVisitor.Visit(SetDriverSpeedMessage message)
 {
     Dispatch(message);
 }
Exemplo n.º 3
0
 public void Visit(SetDriverSpeedMessage message)
 {
     Result = true;
 }
 /// <inheritdoc/>
 public override void Visit(SetDriverSpeedMessage message)
 {
     Model.UpdateCollection(message.Location, message.DriverId, message.Speed);
 }