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