} // Add // ---------------------------------------------------------------------- public void Remove(ISettingCollector setting) { if (setting == null) { throw new ArgumentNullException("setting"); } setting.CollectingSetting -= SettingCollectingSetting; settingCollectors.Remove(setting); } // Remove
} // Add // ---------------------------------------------------------------------- public void Remove(ISettingCollector setting) { if (setting == null) { throw new ArgumentNullException("setting"); } setting.CollectingSetting -= SettingCollectingSetting; settingCollectors.Remove(setting); } // Remove
} // GetEnumerator // ---------------------------------------------------------------------- public void Add(ISettingCollector setting) { if (setting == null) { throw new ArgumentNullException("setting"); } setting.ApplicationSettings = applicationSettings; setting.CollectingSetting += SettingCollectingSetting; settingCollectors.Add(setting); } // Add
} // GetEnumerator // ---------------------------------------------------------------------- public void Add(ISettingCollector setting) { if (setting == null) { throw new ArgumentNullException("setting"); } setting.ApplicationSettings = applicationSettings; setting.CollectingSetting += SettingCollectingSetting; settingCollectors.Add(setting); } // Add