Microsoft.VisualStudio.Project.ProjectNode.ProcessDependentFileNodes C# (CSharp) Method

ProcessDependentFileNodes() protected method

Processes dependent filenodes from list of subitems. Multi level supported, but not circular dependencies.
protected ProcessDependentFileNodes ( IList subitemsKeys, MSBuild.ProjectItem>.Dictionary subitems ) : void
subitemsKeys IList List of sub item keys
subitems MSBuild.ProjectItem>.Dictionary
return void
        protected internal virtual void ProcessDependentFileNodes(IList<String> subitemsKeys, Dictionary<String, MSBuild.ProjectItem> subitems)
        {
            if (subitemsKeys == null || subitems == null)
            {
                return;
            }

            foreach (string key in subitemsKeys)
            {
                // A previous pass could have removed the key so make sure it still needs to be added
                if (!subitems.ContainsKey(key))
                    continue;

                AddDependentFileNode(subitems, key);
            }
        }
ProjectNode