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

C# IRegisteredPackageRepositories类代码示例

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

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



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

示例1: PackageCompatibilityChecker

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


示例2: GetPackageCmdlet

		public GetPackageCmdlet (
			IRegisteredPackageRepositories registeredPackageRepositories,
			IPackageManagementConsoleHost consoleHost,
			ICmdletTerminatingError terminatingError)
			: base (consoleHost, terminatingError)
		{
			this.registeredPackageRepositories = registeredPackageRepositories;
		}
开发者ID:modulexcite,项目名称:monodevelop-nuget-extensions,代码行数:8,代码来源:GetPackageCmdlet.cs


示例3: PackageManagementSolution

        public PackageManagementSolution(
            IRegisteredPackageRepositories registeredPackageRepositories,
            IPackageManagementEvents packageManagementEvents)
            : this(registeredPackageRepositories,
				new PackageManagementProjectService(),
				new PackageManagementProjectFactory(packageManagementEvents),
				new SolutionPackageRepositoryFactory())
        {
        }
开发者ID:eswarpr,项目名称:monodevelop-nuget-addin,代码行数:9,代码来源:PackageManagementSolution.cs


示例4: PackageManagementConsoleHostProvider

		public PackageManagementConsoleHostProvider (
			IPackageManagementSolution2 solution,
			IRegisteredPackageRepositories registeredRepositories)
			: this(solution,
				registeredRepositories,
//				new PowerShellDetection(),
				PackageManagementServices.PackageManagementEvents)
		{
		}
开发者ID:modulexcite,项目名称:monodevelop-nuget-extensions,代码行数:9,代码来源:PackageManagementConsoleHostProvider.cs


示例5: PackageManagementConsoleHostProvider

		public PackageManagementConsoleHostProvider(
			IPackageManagementSolution solution,
			IRegisteredPackageRepositories registeredRepositories,
			IPowerShellDetection powerShellDetection)
		{
			this.solution = solution;
			this.registeredRepositories = registeredRepositories;
			this.powerShellDetection = powerShellDetection;
		}
开发者ID:hpsa,项目名称:SharpDevelop,代码行数:9,代码来源:PackageManagementConsoleHostProvider.cs


示例6: AvailablePackagesViewModel

		public AvailablePackagesViewModel(
			IRegisteredPackageRepositories registeredPackageRepositories,
			IPackageViewModelFactory packageViewModelFactory,
			ITaskFactory taskFactory)
			: base(registeredPackageRepositories, packageViewModelFactory, taskFactory)
		{
			IsSearchable = true;
			ShowPackageSources = registeredPackageRepositories.HasMultiplePackageSources;
		}
开发者ID:hpsa,项目名称:SharpDevelop,代码行数:9,代码来源:AvailablePackagesViewModel.cs


示例7: PackageManagementConsoleHost

		public PackageManagementConsoleHost(
			IPackageManagementSolution solution,
			IRegisteredPackageRepositories registeredRepositories)
			: this(
				solution,
				registeredRepositories,
				new PowerShellHostFactory(),
				new PackageManagementAddInPath())
		{
		}
开发者ID:rbrunhuber,项目名称:SharpDevelop,代码行数:10,代码来源:PackageManagementConsoleHost.cs


示例8: PackageManagementSolution2

		public PackageManagementSolution2 (
			IRegisteredPackageRepositories registeredPackageRepositories,
			IPackageManagementEvents packageManagementEvents)
			: this (
				registeredPackageRepositories,
				PackageManagementExtendedServices.ProjectService,
				new PackageManagementProjectFactory2 (packageManagementEvents),
				new SolutionPackageRepositoryFactory ())
		{
		}
开发者ID:modulexcite,项目名称:monodevelop-nuget-extensions,代码行数:10,代码来源:PackageManagementSolution2.cs


示例9: PackageManagementSolution

		public PackageManagementSolution(
			IRegisteredPackageRepositories registeredPackageRepositories,
			IPackageManagementEvents packageManagementEvents,
			IPackageManagementProjectService projectService,
			IPackageManagementProjectFactory projectFactory)
		{
			this.registeredPackageRepositories = registeredPackageRepositories;
			this.packageManagementEvents = packageManagementEvents;
			this.projectFactory = projectFactory;
			this.projectService = projectService;
		}
开发者ID:yuriykipnis,项目名称:SharpDevelop,代码行数:11,代码来源:PackageManagementSolution.cs


示例10: PackageManagementSolution

		public PackageManagementSolution(
			IRegisteredPackageRepositories registeredPackageRepositories,
			IPackageManagementProjectService projectService,
			IPackageManagementProjectFactory projectFactory,
			ISolutionPackageRepositoryFactory solutionPackageRepositoryFactory)
		{
			this.registeredPackageRepositories = registeredPackageRepositories;
			this.projectFactory = projectFactory;
			this.projectService = projectService;
			this.solutionPackageRepositoryFactory = solutionPackageRepositoryFactory;
		}
开发者ID:pabloescribanoloza,项目名称:monodevelop,代码行数:11,代码来源:PackageManagementSolution.cs


示例11: UpdatedPackagesViewModel

        public UpdatedPackagesViewModel(
            IPackageManagementSolution solution,
            IRegisteredPackageRepositories registeredPackageRepositories,
            UpdatedPackageViewModelFactory packageViewModelFactory,
            ITaskFactory taskFactory)
            : base(registeredPackageRepositories,
				packageViewModelFactory,
				taskFactory)
        {
            this.selectedProjects = new PackageManagementSelectedProjects(solution);
            ShowPackageSources = true;
        }
开发者ID:eswarpr,项目名称:monodevelop-nuget-addin,代码行数:12,代码来源:UpdatedPackagesViewModel.cs


示例12: UpdatedPackagesViewModel

		public UpdatedPackagesViewModel(
			IPackageManagementSolution packageManagementService,
			IRegisteredPackageRepositories registeredPackageRepositories,
			UpdatedPackageViewModelFactory packageViewModelFactory,			
			ITaskFactory taskFactory)
			: base(
				registeredPackageRepositories,
				packageViewModelFactory,
				taskFactory)
		{
			this.solution = packageManagementService;
		}
开发者ID:yuriykipnis,项目名称:SharpDevelop,代码行数:12,代码来源:UpdatedPackagesViewModel.cs


示例13: AvailablePackagesViewModel

		public AvailablePackagesViewModel(
			IRegisteredPackageRepositories registeredPackageRepositories,
			IRecentPackageRepository recentPackageRepository,
			IPackageViewModelFactory packageViewModelFactory,
			ITaskFactory taskFactory)
			: base(registeredPackageRepositories, packageViewModelFactory, taskFactory)
		{
			this.recentPackageRepository = recentPackageRepository;

			IsSearchable = true;
			ShowPackageSources = true;
			ShowPrerelease = true;
		}
开发者ID:alexrp,项目名称:monodevelop,代码行数:13,代码来源:AvailablePackagesViewModel.cs


示例14: PackageManagementProjectOperations

		public PackageManagementProjectOperations (
			IPackageManagementSolution solution,
			IRegisteredPackageRepositories registeredPackageRepositories,
			BackgroundPackageActionRunner backgroundActionRunner,
			IPackageManagementEvents packageManagementEvents)
		{
			this.solution = solution;
			this.registeredPackageRepositories = registeredPackageRepositories;
			this.backgroundActionRunner = backgroundActionRunner;

			packageManagementEvents.ParentPackageInstalled += PackageInstalled;
			packageManagementEvents.ParentPackageUninstalled += PackageUninstalled;
		}
开发者ID:pabloescribanoloza,项目名称:monodevelop,代码行数:13,代码来源:PackageManagementProjectOperations.cs


示例15: TestableUpdatedPackagesInSolution

		public TestableUpdatedPackagesInSolution (
			IPackageManagementSolution solution,
			IRegisteredPackageRepositories registeredPackageRepositories,
			IPackageManagementEvents packageManagementEvents)
			: base (
				solution,
				registeredPackageRepositories,
				packageManagementEvents)
		{
			FileExistsAction = path => {
				return true;
			};
		}
开发者ID:brantwedel,项目名称:monodevelop,代码行数:13,代码来源:TestableUpdatedPackagesInSolution.cs


示例16: InstalledPackagesViewModel

        public InstalledPackagesViewModel(
			IPackageManagementSolution solution,
			IPackageManagementEvents packageManagementEvents,
			IRegisteredPackageRepositories registeredPackageRepositories,
			IPackageViewModelFactory packageViewModelFactory,
			ITaskFactory taskFactory)
            : base(solution,
				packageManagementEvents,
				registeredPackageRepositories, 
				packageViewModelFactory, 
				taskFactory)
        {
            RegisterEvents();
        }
开发者ID:ichengzi,项目名称:SharpDevelop,代码行数:14,代码来源:InstalledPackagesViewModel.cs


示例17: RecentPackagesViewModel2

		public RecentPackagesViewModel2 (
			IPackageManagementEvents packageManagementEvents,
			IRegisteredPackageRepositories registeredPackageRepositories,
			IPackageViewModelFactory2 packageViewModelFactory,
			ITaskFactory taskFactory)
			: base (registeredPackageRepositories, packageViewModelFactory, taskFactory)
		{
			this.packageManagementEvents = packageManagementEvents;

			recentPackageRepository = registeredPackageRepositories.RecentPackageRepository;

			packageManagementEvents.ParentPackageInstalled += ParentPackageInstalled;
			packageManagementEvents.ParentPackageUninstalled += ParentPackageUninstalled;
		}
开发者ID:modulexcite,项目名称:monodevelop-nuget-extensions,代码行数:14,代码来源:RecentPackagesViewModel2.cs


示例18: InstalledPackagesViewModel

		public InstalledPackagesViewModel(
			IPackageManagementSolution solution,
			IPackageManagementEvents packageManagementEvents,
			IRegisteredPackageRepositories registeredPackageRepositories,
			InstalledPackageViewModelFactory packageViewModelFactory,
			ITaskFactory taskFactory)
			: base(registeredPackageRepositories, packageViewModelFactory, taskFactory)
		{
			this.solution = solution;
			this.packageManagementEvents = packageManagementEvents;
			
			RegisterEvents();
			TryGetActiveProject();
		}
开发者ID:pabloescribanoloza,项目名称:monodevelop,代码行数:14,代码来源:InstalledPackagesViewModel.cs


示例19: PackagesViewModels

        public PackagesViewModels(
			IPackageManagementSolution solution,
			IRegisteredPackageRepositories registeredPackageRepositories,
			IThreadSafePackageManagementEvents packageManagementEvents,
			IPackageActionRunner actionRunner,
			ITaskFactory taskFactory)
        {
            var packageViewModelFactory = new PackageViewModelFactory(solution, packageManagementEvents, actionRunner);
            var updatedPackageViewModelFactory = new UpdatedPackageViewModelFactory(packageViewModelFactory);

            AvailablePackagesViewModel = new AvailablePackagesViewModel(solution, packageManagementEvents, registeredPackageRepositories, packageViewModelFactory, taskFactory);
            InstalledPackagesViewModel = new InstalledPackagesViewModel(solution, packageManagementEvents, registeredPackageRepositories, packageViewModelFactory, taskFactory);
            UpdatedPackagesViewModel = new UpdatedPackagesViewModel(solution, packageManagementEvents, registeredPackageRepositories, updatedPackageViewModelFactory, taskFactory);
            RecentPackagesViewModel = new RecentPackagesViewModel(solution, packageManagementEvents, registeredPackageRepositories, packageViewModelFactory, taskFactory);
        }
开发者ID:2594636985,项目名称:SharpDevelop,代码行数:15,代码来源:PackagesViewModels.cs


示例20: AvailablePackagesViewModel

		public AvailablePackagesViewModel (
			IPackageManagementSolution solution,
			IRegisteredPackageRepositories registeredPackageRepositories,
			IRecentPackageRepository recentPackageRepository,
			IPackageViewModelFactory packageViewModelFactory,
			ITaskFactory taskFactory)
			: base(registeredPackageRepositories, packageViewModelFactory, taskFactory)
		{
			this.solutionPackageRepository = solution.GetRepository ();
			this.recentPackageRepository = recentPackageRepository;

			IsSearchable = true;
			ShowPackageSources = true;
			ShowPrerelease = true;
		}
开发者ID:pabloescribanoloza,项目名称:monodevelop,代码行数:15,代码来源:AvailablePackagesViewModel.cs



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
C# IRegistration类代码示例发布时间:2022-05-24
下一篇:
C# IRegionManager类代码示例发布时间: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