protected virtual void CustomUpdateMonitorReading(object sender, NotifyContextMonitorListenersEventArgs e) { }
/// <summary> /// THe implementation of this method pushes the execution of the monitoring update on the dispatcher /// thread that created the service. In this way, as the services are created by the UI thread, we can /// make sure that the observable collections can be updated and that the change will be reflected in the /// UI components to which they are bound. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public void UpdateMonitorReading(object sender, NotifyContextMonitorListenersEventArgs e) { try { CustomUpdateMonitorReading(sender, e); } catch (Exception exception) { logger.Error("An error ocurred processing monitor reading", exception.InnerException); } }