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); } }
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); } }
protected override void TryUpdatingAllPackages() { var factory = new UpdatePackagesActionFactory(logger, packageManagementEvents); IUpdatePackagesAction action = factory.CreateAction(selectedProjects, GetPackagesFromViewModels()); ActionRunner.Run(action); }