public Setting MatchNames(SettingGroup pGroup, Setting pSetting) { foreach (SettingGroup group in _Groups) { if (group.Name == pGroup.Name) { foreach (Setting s in group.Settings) { if (s.Name == pSetting.Name) return s; } } } return null; }
public void Add(Setting pSetting) { _settings.Add(pSetting); }