void InstallPackage(IEnumerable <PackageOperation> packageOperations)
        {
            IPackageManagementProject      project = GetSingleProjectSelected();
            ProcessPackageOperationsAction action  = CreateInstallPackageAction(project);

            action.Package    = package;
            action.Operations = packageOperations;
            actionRunner.Run(action);
        }
        public IPackageAction CreateInstallPackageAction()
        {
            IPackageManagementProject      project = GetSingleProjectSelected();
            ProcessPackageOperationsAction action  = CreateInstallPackageAction(project);

            action.AllowPrereleaseVersions = parent.IncludePrerelease;
            action.Package = package;
            return(action);
        }
        void InstallPackageIntoProject(IEnumerable <PackageOperation> installOperations)
        {
            IPackageManagementProject      project = GetSingleProjectSelected();
            ProcessPackageOperationsAction action  = CreateInstallPackageAction(project);

            action.AllowPrereleaseVersions = parent.IncludePrerelease;
            action.Package    = package;
            action.Operations = installOperations;
            actionRunner.Run(action);
        }
        protected ProcessPackageAction CreateInstallPackageAction(IPackageManagementSelectedProject selectedProject)
        {
            IPackageManagementProject project = selectedProject.Project;

            project.Logger = logger;

            ProcessPackageOperationsAction action = CreateInstallPackageAction(project);

            action.Package = package;
            return(action);
        }
        protected ProcessPackageAction CreateUpdatePackageAction(IPackageManagementSelectedProject selectedProject)
        {
            IPackageManagementProject project = selectedProject.Project;

            project.Logger = logger;

            ProcessPackageOperationsAction action = project.CreateUpdatePackageAction();

            action.AllowPrereleaseVersions = parent.IncludePrerelease;
            action.Package = package;
            return(action);
        }