/// <summary> /// Sends a manual alert using the default alerting-path /// </summary> /// <param name="e">the information about the changed entity</param> public static void Alert(EntityChangedEventArgs e) { try { OnEntityChanged(e); } catch (Exception ex) { LogEnvironment.LogEvent($"Error when trying to alert an entity-change: {ex.OutlineException()}", LogSeverity.Error); } }
/// <summary> /// Raises the Disposed event /// </summary> /// <param name="e">the arguments describing the change</param> private static void OnEntityChanged(EntityChangedEventArgs e) { EntityChanged?.Invoke(e); }