private void Notificaton_Displayed(Notification notification, NotificationEventArgs e) { try { e.HookNotification(this); OnNotificationDisplayed?.Invoke(notification, e); } catch (Exception ex) { Console.WriteLine("" + ex); Logger.Log("Error executing notification displayed", Helpers.LogLevel.Warning, ex); } }
private void Notificaton_Displayed(Notification notification, NotificationEventArgs e) { try { e.HookNotification(this); if (OnNotificationDisplayed != null) { OnNotificationDisplayed(notification, e); } } catch (Exception ex) { Console.WriteLine("" + ex); OpenMetaverse.Logger.Log("Error executing notification displayed", OpenMetaverse.Helpers.LogLevel.Warning, ex); } }
private void Notificaton_Displayed(Notification notification, NotificationEventArgs e) { try { e.HookNotification(this); if (OnNotificationDisplayed != null) OnNotificationDisplayed(notification, e); } catch (Exception ex) { Console.WriteLine("" + ex); OpenMetaverse.Logger.Log("Error executing notification displayed", OpenMetaverse.Helpers.LogLevel.Warning, ex); } }