コード例 #1
0
        protected override void TryUpdatingAllPackages()
        {
            List <IPackageFromRepository> packages = GetPackagesFromViewModels().ToList();

            using (IDisposable operation = StartUpdateOperation(packages.First())) {
                var factory = new UpdatePackagesActionFactory(logger, packageManagementEvents);
                IUpdatePackagesAction action = factory.CreateAction(selectedProjects, packages);
                ActionRunner.Run(action);
            }
        }
コード例 #2
0
		protected override void TryUpdatingAllPackages()
		{
			List<IPackageFromRepository> packages = GetPackagesFromViewModels().ToList();
			using (IDisposable operation = StartUpdateOperation(packages.First())) {
				var factory = new UpdatePackagesActionFactory(logger, packageManagementEvents);
				IUpdatePackagesAction action = factory.CreateAction(selectedProjects, packages);
				ActionRunner.Run(action);
			}
		}
コード例 #3
0
		protected override void TryUpdatingAllPackages()
		{
			var factory = new UpdatePackagesActionFactory(logger, packageManagementEvents);
			IUpdatePackagesAction action = factory.CreateAction(selectedProjects, GetPackagesFromViewModels());
			ActionRunner.Run(action);
		}