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);
     }
 }
Ejemplo n.º 2
0
 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);
     }
 }
Ejemplo n.º 3
0
 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);
     }
 }