예제 #1
0
        private void UpdateMonitoringArgs(ControlStructures.MonitoringSnapshot added, ControlStructures.MonitoringSnapshot removed)
        {
            // Event handler to populate Monitoring across all controllers.  --Kris
            MonitoringUpdateEventArgs args = new MonitoringUpdateEventArgs
            {
                Added   = added,
                Removed = removed
            };

            OnMonitoringUpdated(args);
        }
예제 #2
0
 internal virtual void UpdateMonitoring(MonitoringUpdateEventArgs e)
 {
     Monitoring.Remove(e.Removed);
     Monitoring.Add(e.Added);
 }
예제 #3
0
 protected virtual void OnMonitoringUpdated(MonitoringUpdateEventArgs e)
 {
     MonitoringUpdated?.Invoke(this, e);
 }
예제 #4
0
 public void C_MonitoringUpdated(object sender, MonitoringUpdateEventArgs e)
 {
     Monitor.UpdateMonitoring(e);
 }