private async Task ExtractNugetInfo(ProjectDetails project, DotNetProject projectInfo)
        {
            var nugets = await ReadNuget(project.AbsolutePath, projectInfo);

            project.Nugets.AddRange(nugets);

            foreach (var nuget in project.Nugets)
            {
                var nugetMap = new NugetProjectMap
                {
                    Nuget   = nuget,
                    Project = project
                };

                _nugetCache.AddOrUpdate(nuget.Name, new Dictionary <string, NugetProjectMap> {
                    [nugetMap.Project.AbsolutePath] = nugetMap
                }, (pKey, nugets) =>
                {
                    if (!nugets.ContainsKey(nugetMap.Project.AbsolutePath))
                    {
                        nugets.Add(nugetMap.Project.AbsolutePath, nugetMap);
                    }

                    return(nugets);
                });
            }
        }
 public NugetReferenceViewModel(NugetProjectMap map, TreeViewItemViewModel parent) : base(parent, false)
 {
     Name     = map.Project.Name;
     FullName = map.Project.AbsolutePath;
     Map      = map;
 }