Ejemplo n.º 1
0
 /* ----------------------------------------------------------------- */
 ///
 /// 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));
Ejemplo n.º 2
0
 /* ----------------------------------------------------------------- */
 ///
 /// 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));