/// <inheritdoc/> public virtual void Visit(SetDriverNameMessage message) { }
public void Visit(SetDriverNameMessage message) { Result = true; }
/// <inheritdoc/> public override void Visit(SetDriverNameMessage message) { if(IsForMyDriver(message)) { Model.Name = message.DriverName; } }
void IMessageVisitor.Visit(SetDriverNameMessage message) { Dispatch(message); }
/// <inheritdoc/> public override void Visit(SetDriverNameMessage message) { GetDriver(message).Name = message.DriverName; }