Пример #1
0
 void Dispatch(MessageArgs message)
 {
     OnMessage?.Invoke(this, message);
 }
Пример #2
0
 public void Enqueue(MessageArgs msg)
 {
     Enqueue(new NMessageTask {
         Message = msg, Dispatcher = this
     });
 }