コード例 #1
0
        // Event dispatchers

        private void OnNoticeReceived(object sender, NoticeReceivedEventArgs ev)
        {
            var handler = NoticeReceived;

            if (null != handler)
            {
                handler(sender, ev);
            }
        }
コード例 #2
0
 // Event dispatchers
 private void OnNoticeReceived( object sender, NoticeReceivedEventArgs ev )
 {
     var handler = NoticeReceived;
     if ( null != handler ) {
         handler( sender, ev );
     }
 }