• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# IPackageManagementProject类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: CreateUpdatePackageAction

 UpdatePackageAction CreateUpdatePackageAction(IPackageManagementProject project)
 {
     UpdatePackageAction action = CreateDefaultUpdatePackageAction(project);
     action.PackageId = packageReference.Id;
     action.PackageVersion = packageReference.Version;
     return action;
 }
开发者ID:2594636985,项目名称:SharpDevelop,代码行数:7,代码来源:UpdatePackageInAllProjects.cs


示例2: UpdatePackageAction

		public UpdatePackageAction(
			IPackageManagementProject project,
			IPackageManagementEvents packageManagementEvents)
			: base(project, packageManagementEvents)
		{
			UpdateDependencies = true;
		}
开发者ID:yuriykipnis,项目名称:SharpDevelop,代码行数:7,代码来源:UpdatePackageAction.cs


示例3: ProcessPackageAction

		public ProcessPackageAction(
			IPackageManagementProject project,
			IPackageManagementEvents packageManagementEvents)
		{
			this.Project = project;
			this.packageManagementEvents = packageManagementEvents;
		}
开发者ID:yuriykipnis,项目名称:SharpDevelop,代码行数:7,代码来源:ProcessPackageAction.cs


示例4: UninstallPackageAction

		public UninstallPackageAction(
			IPackageManagementProject project,
			IPackageManagementEvents packageManagementEvents)
			: base(project, packageManagementEvents)
		{
			this.AllowPrereleaseVersions = true;
		}
开发者ID:fanyjie,项目名称:SharpDevelop,代码行数:7,代码来源:UninstallPackageAction.cs


示例5: RegisterPackageInstalledEvent

		void RegisterPackageInstalledEvent(IPackageManagementProject project)
		{
			EventHandler<PackageOperationEventArgs> installHandler =
				(_, e) => PackageInstalled(project, e);
			packageInstalledHandlers.Add(installHandler);
			project.PackageInstalled += installHandler;
		}
开发者ID:Paccc,项目名称:SharpDevelop,代码行数:7,代码来源:RunAllProjectPackageScriptsAction.cs


示例6: UpdatedPackages

        public UpdatedPackages(
            IPackageManagementProject project,
            IPackageRepository aggregateRepository)
            : this(project.GetPackages(),
				aggregateRepository)
        {
        }
开发者ID:nicolaiarocci,项目名称:monodevelop-nuget-addin,代码行数:7,代码来源:UpdatedPackages.cs


示例7: ReinstallProjectPackagesAction

		public ReinstallProjectPackagesAction (
			IPackageManagementProject project,
			IPackageManagementEvents packageManagementEvents)
		{
			this.project = project;
			this.packageManagementEvents = packageManagementEvents;
		}
开发者ID:pabloescribanoloza,项目名称:monodevelop,代码行数:7,代码来源:ReinstallProjectPackagesAction.cs


示例8: ProcessPackageOperationsAction

		public ProcessPackageOperationsAction(
			IPackageManagementProject project,
			IPackageManagementEvents packageManagementEvents)
			: base(project, packageManagementEvents)
		{
			this.packageManagementEvents = packageManagementEvents;
		}
开发者ID:nerzhulart,项目名称:monodevelop,代码行数:7,代码来源:ProcessPackageOperationsAction.cs


示例9: InstallPackageAction

		public InstallPackageAction(
			IPackageManagementProject project,
			IPackageManagementEvents packageManagementEvents)
			: base(project, packageManagementEvents)
		{
			DependencyVersion = DependencyVersion.Lowest;
		}
开发者ID:NewLeafG,项目名称:SharpDevelop,代码行数:7,代码来源:InstallPackageAction.cs


示例10: Restore

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


示例11: OpenPackageReadMeMonitor

		public OpenPackageReadMeMonitor (
			string packageId,
			IPackageManagementProject project,
			IPackageManagementEvents packageManagementEvents)
			: this (packageId, project, new PackageManagementFileService (packageManagementEvents))
		{
		}
开发者ID:riverans,项目名称:monodevelop,代码行数:7,代码来源:OpenPackageReadmeMonitor.cs


示例12: UpdatedPackages

		public UpdatedPackages(
			IPackageManagementProject project,
			IPackageRepository aggregateRepository)
		{
			this.project = project;
			this.sourceRepository = aggregateRepository;
		}
开发者ID:yuriykipnis,项目名称:SharpDevelop,代码行数:7,代码来源:UpdatedPackages.cs


示例13: RegisterPackageReferenceAddedEvent

		void RegisterPackageReferenceAddedEvent(IPackageManagementProject project)
		{
			EventHandler<PackageOperationEventArgs> referenceAddedHandler =
				(_, e) => PackageReferenceAdded(project, e);
			packageReferenceAddedHandlers.Add(referenceAddedHandler);
			project.PackageReferenceAdded += referenceAddedHandler;
		}
开发者ID:Paccc,项目名称:SharpDevelop,代码行数:7,代码来源:RunAllProjectPackageScriptsAction.cs


示例14: CreateProgressMessage

		ProgressMonitorStatusMessage CreateProgressMessage (List<UpdatePackageAction> updateActions, IPackageManagementProject project)
		{
			if (updateActions.Count == 1) {
				return ProgressMonitorStatusMessageFactory.CreateUpdatingSinglePackageMessage (updateActions.First ().PackageId, project);
			}
			return ProgressMonitorStatusMessageFactory.CreateUpdatingPackagesInProjectMessage (updateActions.Count, project);
		}
开发者ID:powerumc,项目名称:monodevelop_korean,代码行数:7,代码来源:UpdateAllPackagesInProjectHandler.cs


示例15: UpdatePackagesAction

		public UpdatePackagesAction(
			IPackageManagementProject project,
			IPackageManagementEvents packageManagementEvents)
		{
			Project = project;
			this.packageManagementEvents = packageManagementEvents;
			UpdateDependencies = true;
		}
开发者ID:Paccc,项目名称:SharpDevelop,代码行数:8,代码来源:UpdatePackagesAction.cs


示例16: CreateSelectedProject

		IPackageManagementSelectedProject CreateSelectedProject(
			IPackageManagementProject project,
			IPackageFromRepository package)
		{
			bool enabled = IsProjectEnabled(project, package);
			bool selected = IsProjectSelected(project, package);
			return new PackageManagementSelectedProject(project, selected, enabled);
		}
开发者ID:Paccc,项目名称:SharpDevelop,代码行数:8,代码来源:PackageManagementSelectedProjects.cs


示例17: UpdatePackageAction

		public UpdatePackageAction(
			IPackageManagementProject project,
			IPackageManagementEvents packageManagementEvents)
			: base(project, packageManagementEvents)
		{
			UpdateDependencies = true;
			UpdateIfPackageDoesNotExistInProject = true;
		}
开发者ID:Kalnor,项目名称:monodevelop,代码行数:8,代码来源:UpdatePackageAction.cs


示例18: ReinstallPackageAction

		public ReinstallPackageAction (
			IPackageManagementProject project,
			IPackageManagementEvents packageManagementEvents,
			IFileRemover fileRemover)
			: base (project, packageManagementEvents)
		{
			this.fileRemover = fileRemover;
		}
开发者ID:riverans,项目名称:monodevelop,代码行数:8,代码来源:ReinstallPackageAction.cs


示例19: CreateReinstallPackageAction

		ReinstallPackageAction CreateReinstallPackageAction (IPackageManagementProject project, PackageReference packageReference)
		{
			ReinstallPackageAction action = project.CreateReinstallPackageAction ();
			action.PackageId = packageReference.Id;
			action.PackageVersion = packageReference.Version;

			return action;
		}
开发者ID:pabloescribanoloza,项目名称:monodevelop,代码行数:8,代码来源:ReinstallAllPackagesInProjectHandler.cs


示例20: PackageManagementSelectedProject

		public PackageManagementSelectedProject (
			IPackageManagementProject project,
			bool selected,
			bool enabled)
			: this (project.Name, selected, enabled)
		{
			this.Project = project;
		}
开发者ID:pabloescribanoloza,项目名称:monodevelop,代码行数:8,代码来源:PackageManagementSelectedProject.cs



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# IPackageManagementSolution类代码示例发布时间:2022-05-24
下一篇:
C# IPackageManagementEvents类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap