public void ReadPackages() { AvailablePackagesViewModel.ReadPackages(); InstalledPackagesViewModel.ReadPackages(); UpdatedPackagesViewModel.ReadPackages(); RecentPackagesViewModel.ReadPackages(); }
public AddPackageReferenceViewModel( IPackageManagementService packageManagementService, ITaskFactory taskFactory) { this.packageManagementService = packageManagementService; this.packageManagementService.OutputMessagesView.Clear(); availablePackagesViewModel = new AvailablePackagesViewModel(packageManagementService, this, taskFactory); installedPackagesViewModel = new InstalledPackagesViewModel(packageManagementService, this, taskFactory); packageUpdatesViewModel = new PackageUpdatesViewModel(packageManagementService, this, taskFactory); recentPackagesViewModel = new RecentPackagesViewModel(packageManagementService, this, taskFactory); availablePackagesViewModel.ReadPackages(); installedPackagesViewModel.ReadPackages(); packageUpdatesViewModel.ReadPackages(); recentPackagesViewModel.ReadPackages(); }