Esempio n. 1
0
        private void AddChildren(FilterContainer filterContainer, DescendancyList descendancy)
        {
            HashSet <object> children = new HashSet <object>();

            foreach (FilterContainer subcontainer in _dataExportFilterManager.GetSubContainers(filterContainer))
            {
                AddChildren(subcontainer, descendancy.Add(subcontainer));
                children.Add(subcontainer);
            }

            foreach (var filter in _dataExportFilterManager.GetFilters(filterContainer))
            {
                children.Add(filter);
            }

            AddToDictionaries(children, descendancy);
        }
Esempio n. 2
0
 /// <inheritdoc/>
 public IContainer[] GetSubContainers()
 {
     return(_manager.GetSubContainers(this));
 }