Example #1
0
 public PackageInspector(INugetLibraryProxy nugetLibraryProxy)
 {
     _nugetLibraryProxy = nugetLibraryProxy;
     _hashset           = new Dictionary <PackageKey, PackageNode>();
 }
 public MainWindowModel(INugetLibraryProxy nugetLibraryProxy, IEnumerable <PackageKey> packageKeys)
 {
     PackageKeys = packageKeys.Select(x => new PackageControlModel(x, nugetLibraryProxy.GetById(x.Id).Select(y => y.Key)))
                   .ToList();
 }