/* ----------------------------------------------------------------- */ /// /// Post /// /// <summary> /// Posts the specified message. /// </summary> /// /// <param name="message">Message to be posted.</param> /// /* ----------------------------------------------------------------- */ protected void Post <T>(T message) => _post.Invoke(() => Aggregator.Publish(message));
/* ----------------------------------------------------------------- */ /// /// Send /// /// <summary> /// Sends the specified message. /// </summary> /// /// <param name="message">Message to be sent.</param> /// /* ----------------------------------------------------------------- */ protected void Send <T>(T message) => _send.Invoke(() => Aggregator.Publish(message));