public SettingsWatcher Watch(string type) { SettingsWatcher sw = new SettingsWatcher(getFileFromType(type), type); this._watchers[type] = sw; return(sw); }
void disableWatcher(string type) { SettingsWatcher sw = null; if (this._watchers.TryGetValue(type, out sw)) { sw.Enable = false; } }
public SettingsWatcher Watch(string type) { SettingsWatcher sw = new SettingsWatcher(getFileFromType(type), type); this._watchers[type] = sw; return sw; }