Пример #1
0
 /// <inheritdoc/>
 public virtual void Visit(SetDriverQuallyTimeMessage message)
 {
 }
 void IMessageVisitor.Visit(SetDriverQuallyTimeMessage message)
 {
     Dispatch(message);
 }
Пример #3
0
 public void Visit(SetDriverQuallyTimeMessage message)
 {
     Result = true;
 }
Пример #4
0
 /// <inheritdoc/>
 public override void Visit(SetDriverQuallyTimeMessage message)
 {
     if(IsForMyDriver(message))
     {
         Model.QuallyTimes.SetTime(message.QuallyNumber, message.QuallyTime);
     }
 }