Ejemplo n.º 1
0
        void InstallPackage(IEnumerable <PackageOperation> packageOperations)
        {
            IPackageManagementProject      project = GetSingleProjectSelected();
            ProcessPackageOperationsAction action  = CreateInstallPackageAction(project);

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

            action.AllowPrereleaseVersions = parent.IncludePrerelease;
            action.Package = package;
            return(action);
        }
Ejemplo n.º 3
0
        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);
        }
Ejemplo n.º 4
0
        protected ProcessPackageAction CreateInstallPackageAction(IPackageManagementSelectedProject selectedProject)
        {
            IPackageManagementProject project = selectedProject.Project;

            project.Logger = logger;

            ProcessPackageOperationsAction action = CreateInstallPackageAction(project);

            action.Package = package;
            return(action);
        }
Ejemplo n.º 5
0
        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);
        }