internal void HandleExceptionEncountered(object sender, ExceptionEventArgs args) { WrappedEventHandler(() => ExceptionEncountered?.Invoke(sender, args), "ExceptionEncountered", sender); }
internal void HandleExceptionEncountered(object sender, ExceptionEventArgs args) { ExceptionEncountered?.Invoke(sender, args); }
internal void HandleExceptionEncountered(object sender, ExceptionEventArgs args) { CatchAndReport(() => ExceptionEncountered?.Invoke(sender, args), "ExceptionEncountered", sender); }
private void RaiseExceptionEncountered(string source, Exception ex) { ExceptionEncountered?.Invoke(source, ex); }
/// <summary> /// Call the event (if there are any listeners) /// </summary> /// <param name="sender"></param> /// <param name="ex"></param> private void RaiseException(object sender, Exception ex) { ExceptionEncountered?.Invoke(this, ex); }
/// <summary> /// Call the event (if there are any listeners) /// </summary> /// <param name="sender"></param> /// <param name="ex"></param> private void NotifyException(object sender, Exception ex) { ExceptionEncountered?.Invoke(sender, ex); }