Пример #1
0
 public void Invoke(RailRoom room, RailController sender)
 {
     Room   = room;
     Sender = sender;
     if (Validate())
     {
         Execute(room, sender);
     }
 }
Пример #2
0
 protected abstract void Execute(RailRoom room, RailController sender);