当前位置: 首页>>代码示例>>C#>>正文


C# IPackageManagementSolution类代码示例

本文整理汇总了C#中IPackageManagementSolution的典型用法代码示例。如果您正苦于以下问题:C# IPackageManagementSolution类的具体用法?C# IPackageManagementSolution怎么用?C# IPackageManagementSolution使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


IPackageManagementSolution类属于命名空间,在下文中一共展示了IPackageManagementSolution类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: PackageCompatibilityChecker

		public PackageCompatibilityChecker (
			IPackageManagementSolution solution,
			IRegisteredPackageRepositories registeredRepositories)
		{
			this.solution = solution;
			this.registeredRepositories = registeredRepositories;
		}
开发者ID:brantwedel,项目名称:monodevelop,代码行数:7,代码来源:PackageCompatibilityChecker.cs

示例2: NuGetPackageRestoreCommandLine

		public NuGetPackageRestoreCommandLine (IPackageManagementSolution solution)
			: this (
				solution,
				MonoRuntimeInfo.FromCurrentRuntime (),
				EnvironmentUtility.IsMonoRuntime)
		{
		}
开发者ID:Kalnor,项目名称:monodevelop,代码行数:7,代码来源:NuGetPackageRestoreCommandLine.cs

示例3: CreatePackageInstallerServices

		void CreatePackageInstallerServices()
		{
			fakeSolution = MockRepository.GenerateStub<IPackageManagementSolution>();
			installedPackages = new List<IPackage>();
			fakeSolution.Stub(s => s.GetPackages()).Return(installedPackages.AsQueryable());
			installerServices = new VsPackageInstallerServices(fakeSolution);
		}
开发者ID:Netring,项目名称:SharpDevelop,代码行数:7,代码来源:VsPackageInstallerServicesTests.cs

示例4: CreateUpdatePackageInAllProjects

        public IUpdatePackageActions CreateUpdatePackageInAllProjects(
			PackageReference packageReference,
			IPackageManagementSolution solution,
			IPackageRepository sourceRepository)
        {
            return new UpdatePackageInAllProjects(packageReference, solution, sourceRepository);
        }
开发者ID:2594636985,项目名称:SharpDevelop,代码行数:7,代码来源:UpdatePackageActionsFactory.cs

示例5: UpdateAllPackagesInSolution

		public UpdateAllPackagesInSolution(
			IPackageManagementSolution solution,
			IPackageRepository sourceRepository)
		{
			this.solution = solution;
			this.sourceRepository = sourceRepository;
		}
开发者ID:hpsa,项目名称:SharpDevelop,代码行数:7,代码来源:UpdateAllPackagesInSolution.cs

示例6: PackageReinstaller

		public PackageReinstaller (
			IPackageManagementSolution solution,
			IBackgroundPackageActionRunner runner)
		{
			this.solution = solution;
			this.runner = runner;
		}
开发者ID:pabloescribanoloza,项目名称:monodevelop,代码行数:7,代码来源:PackageReinstaller.cs

示例7: RestorePackagesCommand

        public RestorePackagesCommand(
			IPackageManagementOutputMessagesView outputMessagesView,
			IPackageManagementSolution solution)
        {
            this.outputMessagesView = outputMessagesView;
            this.solution = solution;
        }
开发者ID:2594636985,项目名称:SharpDevelop,代码行数:7,代码来源:RestorePackagesCommand.cs

示例8: PackageRestoreRunner

		internal PackageRestoreRunner (IPackageManagementSolution solution)
			: this (
				solution,
				PackageManagementServices.ProgressMonitorFactory,
				PackageManagementServices.PackageManagementEvents,
				PackageManagementServices.ProgressProvider)
		{
		}
开发者ID:powerumc,项目名称:monodevelop_korean,代码行数:8,代码来源:PackageRestoreRunner.cs

示例9: CreateUpdateAllPackagesInSolution

		public IUpdatePackageActions CreateUpdateAllPackagesInSolution(
			IPackageManagementSolution solution,
			IPackageRepository sourceRepository)
		{
			SolutionPassedToCreateUpdateAllPackagesInSolution = solution;
			SourceRepositoryPassedToCreateUpdateAllPackagesInSolution = sourceRepository;
			return FakeUpdateAllPackagesInSolution;
		}
开发者ID:hpsa,项目名称:SharpDevelop,代码行数:8,代码来源:FakeUpdatePackageActionsFactory.cs

示例10: RestoreAllPackagesInSolution

		public void RestoreAllPackagesInSolution (
			IPackageManagementSolution solution,
			IEnumerable<DotNetProject> projects,
			Action afterRestore)
		{
			var restorer = new PackageRestorer (solution, projects);
			Restore (restorer, afterRestore);
		}
开发者ID:powerumc,项目名称:monodevelop_korean,代码行数:8,代码来源:RestoreBeforeUpdateAction.cs

示例11: Restore

		public static void Restore (
			IPackageManagementSolution solution,
			IPackageManagementProject project,
			Action afterRestore)
		{
			var runner = new RestoreBeforeUpdateAction ();
			runner.RestoreProjectPackages (solution, project.DotNetProject, afterRestore);
		}
开发者ID:powerumc,项目名称:monodevelop_korean,代码行数:8,代码来源:RestoreBeforeUpdateAction.cs

示例12: UpdateSolutionPackagesAction

		public UpdateSolutionPackagesAction(
			IPackageManagementSolution solution,
			IPackageManagementEvents packageManagementEvents)
		{
			this.Solution = solution;
			this.UpdateDependencies = true;
			this.packageManagementEvents = packageManagementEvents;
		}
开发者ID:pabloescribanoloza,项目名称:monodevelop,代码行数:8,代码来源:UpdateSolutionPackagesAction.cs

示例13: UpdateAllPackagesInSolution

		public UpdateAllPackagesInSolution(
			IPackageManagementSolution solution,
			IPackageRepository sourceRepository)
		{
			this.solution = solution;
			this.sourceRepository = sourceRepository;
			UpdateDependencies = true;
		}
开发者ID:mafiya69,项目名称:monodevelop,代码行数:8,代码来源:UpdateAllPackagesInSolution.cs

示例14: GenerateCommandLine

 void GenerateCommandLine(IPackageManagementSolution solution)
 {
     if (EnvironmentUtility.IsMonoRuntime) {
         GenerateMonoCommandLine(solution);
     } else {
         GenerateWindowsCommandLine(solution);
     }
 }
开发者ID:kjohnphillip,项目名称:monodevelop-nuget-addin,代码行数:8,代码来源:NuGetPackageRestoreCommandLine.cs

示例15: GenerateMonoCommandLine

		void GenerateMonoCommandLine(IPackageManagementSolution solution)
		{
			Arguments = String.Format(
				"--runtime=v4.0 \"{0}\" restore \"{1}\"",
				NuGetExePath.GetPath(),
				solution.FileName);

			Command = Path.Combine (monoRuntime.Prefix, "bin", "mono");
		}
开发者ID:Kalnor,项目名称:monodevelop,代码行数:9,代码来源:NuGetPackageRestoreCommandLine.cs


注:本文中的IPackageManagementSolution类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。