Event args used when a message is successfully sent.
Event args used when message is successfully sent.
Inheritance: System.EventArgs
Example #1
0
        /// <summary>
        /// Raise the message sent event.
        /// </summary>
        /// <remarks>
        /// Raises the message sent event.
        /// </remarks>
        /// <param name="e">The message sent event args.</param>
        protected virtual void OnMessageSent(MessageSentEventArgs e)
        {
            var handler = MessageSent;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Example #2
0
		/// <summary>
		/// Raise the message sent event.
		/// </summary>
		/// <remarks>
		/// Raises the message sent event.
		/// </remarks>
		/// <param name="e">The message sent event args.</param>
		protected virtual void OnMessageSent (MessageSentEventArgs e)
		{
			var handler = MessageSent;

			if (handler != null)
				handler (this, e);
		}
Example #3
0
 /// <summary>
 /// Raise the message sent event.
 /// </summary>
 /// <remarks>
 /// Raises the message sent event.
 /// </remarks>
 /// <param name="e">The message sent event args.</param>
 protected virtual void OnMessageSent(MessageSentEventArgs e)
 {
     MessageSent?.Invoke(this, e);
 }