Event args used when a message is successfully sent.
Event args used when message is successfully sent.
Inheritance: System.EventArgs
Ejemplo n.º 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);
            }
        }
Ejemplo n.º 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);
		}
Ejemplo n.º 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);
 }