void Dispatch(MessageArgs message) { OnMessage?.Invoke(this, message); }
public void Enqueue(MessageArgs msg) { Enqueue(new NMessageTask { Message = msg, Dispatcher = this }); }