/// <summary> /// Invokes when the event has been published. /// </summary> /// <param name="sender">The sender.</param> /// <param name="e">The <see cref="MessagePublishedEventArgs"/> instance containing the event data.</param> protected virtual void OnMessagePublished(object sender, MessagePublishedEventArgs e) { }
private void OnMessagePublished(MessagePublishedEventArgs e) { this.MessagePublished?.Invoke(this, e); }