internal CollectionsGroup(CollectionsGroupCollection collections, ConfigSection parent) { if (collections == null) { throw new ArgumentException("CollectionsGroupCollection object was null."); } Collections = collections; foreach (ConfigurationGroupElement configGroup in collections) { collectionNames.Add(configGroup.Name); } Parent = parent; }
internal CollectionsGroup(CollectionsGroupCollection collections, ConfigSection parent, bool allowValueInheritance) { AllowValueInheritance = allowValueInheritance; if (collections == null) { throw new ArgumentException("CollectionsGroupCollection object was null."); } Collections = collections; foreach (ConfigurationGroupElement configGroup in collections) { collectionNames.Add(configGroup.Name); } Parent = parent; }
internal CollectionsGroup(CollectionsGroupCollection collections, ConfigSection parent, bool allowValueInheritance) { AllowValueInheritance = allowValueInheritance; if (collections == null) { throw new ArgumentException("CollectionsGroupCollection object was null."); } Collections = collections; foreach (ConfigurationGroupElement configGroup in collections) { collectionNames.Add(configGroup.Name); } Parent = parent; }