コード例 #1
0
        void newCon_NotificationTooLong(object sender, NotificationLengthException ex)
        {
            var onNotificationTooLong = NotificationTooLong;

            if (onNotificationTooLong != null)
            {
                NotificationTooLong(sender, ex);
            }
        }
コード例 #2
0
 private void service_NotificationTooLong(object sender, YW.Notification.NotificationLengthException ex)
 {
     Console.WriteLine(string.Format("Notification Too Long: {0}", ex.Notification.ToString()));
 }