Exemplo n.º 1
0
 private void FireOnUserUpdated(UserCallbackAction action)
 {
     // Tell our listeners, but ignore any errors from them
     try
     {
         m_onUserUpdated.Raise(this, new OnUserUpdatedArgs()
         {
             Action = action
         });
     }
     catch (Exception ex)
     {
         m_baconMan.MessageMan.DebugDia("Failed to notify user listener of update", ex);
     }
 }
Exemplo n.º 2
0
 private void FireOnUserUpdated(UserCallbackAction action)
 {
     // Tell our listeners, but ignore any errors from them
     try
     {
         m_onUserUpdated.Raise(this, new OnUserUpdatedArgs() { Action = action });
     }
     catch (Exception ex)
     {
         m_baconMan.MessageMan.DebugDia("Failed to notify user listener of update", ex);
         m_baconMan.TelemetryMan.ReportUnExpectedEvent(this, "failed to fire OnUserUpdated", ex);
     }
 }