示例#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);
                }
            }
        }
示例#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);
                }
            }
        }