コード例 #1
0
ファイル: CtcpClient.cs プロジェクト: bibikov505/Ubiquitous2
        /// <summary>
        /// Raises the <see cref="ActionReceived"/> event.
        /// </summary>
        /// <param name="e">The <see cref="CtcpMessageEventArgs"/> instance containing the event data.</param>
        protected virtual void OnActionReceived(CtcpMessageEventArgs e)
        {
            var handler = this.ActionReceived;

            if (handler != null)
            {
                handler(this, e);
            }
        }
コード例 #2
0
ファイル: CtcpClient.cs プロジェクト: ByteSempai/Ubiquitous
 /// <summary>
 /// Raises the <see cref="ActionReceived"/> event.
 /// </summary>
 /// <param name="e">The <see cref="CtcpMessageEventArgs"/> instance containing the event data.</param>
 protected virtual void OnActionReceived(CtcpMessageEventArgs e)
 {
     var handler = this.ActionReceived;
     if (handler != null)
         handler(this, e);
 }