Ejemplo n.º 1
0
        private void AddChilrenToTable(Dictionary <IFolderPath, ISolutionFolder> flatChildrenTable)
        {
            flatChildrenTable.Add((IFolderPath)Path, this);

            foreach (ISolutionTreeNode Child in Children)
            {
                if (Child is SolutionFolder AsFolder)
                {
                    AsFolder.AddChilrenToTable(flatChildrenTable);
                }
            }
        }
Ejemplo n.º 2
0
        private void AddChilrenToTable(Dictionary <IFolderPath, ISolutionFolder> FlatChildrenTable)
        {
            FlatChildrenTable.Add((IFolderPath)Path, this);

            foreach (ISolutionTreeNode Child in Children)
            {
                SolutionFolder AsFolder;
                if ((AsFolder = Child as SolutionFolder) != null)
                {
                    AsFolder.AddChilrenToTable(FlatChildrenTable);
                }
            }
        }