private void configurationFromFile() { configuration = EddpConfiguration.FromFile(); ObservableCollection <Watch> watches = new ObservableCollection <Watch>(); foreach (Watch watch in configuration.watches) { watches.Add(watch); } Watches = watches; }
public void Reload() { // Reload the configuration and let the monitor know that we have done so configuration = EddpConfiguration.FromFile(); reloading = true; }
/// <summary> /// This method is run when the monitor is requested to start /// </summary> public void Start() { configuration = EddpConfiguration.FromFile(); running = true; monitor(); }