internal DesignerOptionCollection(DesignerOptionCollection parent, string name, object propertiesProvider, DesignerOptionService service)
{
_name = name;
_propertiesProvider = propertiesProvider;
_parent = parent;
if (parent != null)
{
if (parent._children == null)
{
parent._children = new ArrayList();
}
parent._children.Add(this);
}
_children = new ArrayList();
_optionService = service;
service.PopulateOptionCollection(this);
}