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


C# IPackageManagementProject类代码示例

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


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


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