private void PopulateCache()

in EnvDTE.Client/Impl/ProjectModelImpl/ProjectHierarchyCache.cs [41:54]


    private void PopulateCache(List<ProjectHierarchyCacheEventArgs> args)
    {
        foreach (var arg in args)
        {
            _projectCache[arg.Project] = ImplementationUtil.GetProjectImplementation(_dte, arg.Project, arg.IsCPS);
        }

        foreach (var arg in args)
        {
            if (arg.ParentProject is null) continue;

            _projectCache[arg.Project].parentProjectItemImplementation = new SolutionFolderProjectItemImplementation(_dte, arg.Project, _projectCache[arg.ParentProject]);
        }
    }