public UpdatedPackagesViewModel(
			IPackageManagementSolution solution,
			IRegisteredPackageRepositories registeredPackageRepositories,
			UpdatedPackageViewModelFactory packageViewModelFactory,
			ITaskFactory taskFactory)
			: base(
				registeredPackageRepositories,
				packageViewModelFactory,
				taskFactory)
		{
			this.selectedProjects = new PackageManagementSelectedProjects(solution);
			this.logger = packageViewModelFactory.Logger;
			this.packageManagementEvents = packageViewModelFactory.PackageManagementEvents;
			
			packageManagementEvents.ParentPackagesUpdated += PackagesUpdated;
			
			ShowPackageSources = true;
			ShowUpdateAllPackages = true;
			ShowPrerelease = true;
		}
Пример #2
0
        public UpdatedPackagesViewModel(
            IPackageManagementSolution solution,
            IRegisteredPackageRepositories registeredPackageRepositories,
            UpdatedPackageViewModelFactory packageViewModelFactory,
            ITaskFactory taskFactory)
            : base(
                registeredPackageRepositories,
                packageViewModelFactory,
                taskFactory)
        {
            this.selectedProjects        = new PackageManagementSelectedProjects(solution);
            this.logger                  = packageViewModelFactory.Logger;
            this.packageManagementEvents = packageViewModelFactory.PackageManagementEvents;

            packageManagementEvents.ParentPackagesUpdated += PackagesUpdated;

            ShowPackageSources    = true;
            ShowUpdateAllPackages = true;
            ShowPrerelease        = true;
        }