Inheritance: IDisposable
Ejemplo n.º 1
0
        public SettingsWatcher Watch(string type)
        {
            SettingsWatcher sw = new SettingsWatcher(getFileFromType(type), type);

            this._watchers[type] = sw;
            return(sw);
        }
Ejemplo n.º 2
0
        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;
 }