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

C# IPackageService类代码示例

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

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



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

示例1: ApiController

 public ApiController(IPackageService packageSvc, IPackageFileService packageFileSvc, IUserService userSvc, INuGetExeDownloaderService nugetExeDownloaderSvc)
 {
     this.packageSvc = packageSvc;
     this.packageFileSvc = packageFileSvc;
     this.userSvc = userSvc;
     this.nugetExeDownloaderSvc = nugetExeDownloaderSvc;
 }
开发者ID:rhillaardvark,项目名称:chocolatey.org,代码行数:7,代码来源:ApiController.cs


示例2: PackagesController

 public PackagesController(
     IPackageService packageService,
     IUploadFileService uploadFileService,
     IMessageService messageService,
     ISearchService searchService,
     IAutomaticallyCuratePackageCommand autoCuratedPackageCmd,
     IPackageFileService packageFileService,
     IEntitiesContext entitiesContext,
     IAppConfiguration config,
     IIndexingService indexingService,
     ICacheService cacheService,
     EditPackageService editPackageService,
     IPackageDeleteService packageDeleteService,
     ISupportRequestService supportRequestService,
     AuditingService auditingService)
 {
     _packageService = packageService;
     _uploadFileService = uploadFileService;
     _messageService = messageService;
     _searchService = searchService;
     _autoCuratedPackageCmd = autoCuratedPackageCmd;
     _packageFileService = packageFileService;
     _entitiesContext = entitiesContext;
     _config = config;
     _indexingService = indexingService;
     _cacheService = cacheService;
     _editPackageService = editPackageService;
     _packageDeleteService = packageDeleteService;
     _supportRequestService = supportRequestService;
     _auditingService = auditingService;
 }
开发者ID:rhysawilliams2010,项目名称:NuGetGallery,代码行数:31,代码来源:PackagesController.cs


示例3: PackagesController

 public PackagesController(
     IPackageService packageService,
     IUploadFileService uploadFileService,
     IUserService userService,
     IMessageService messageService,
     ISearchService searchService,
     IAutomaticallyCuratePackageCommand autoCuratedPackageCmd,
     INuGetExeDownloaderService nugetExeDownloaderService,
     IPackageFileService packageFileService,
     IEntitiesContext entitiesContext,
     IAppConfiguration config,
     IIndexingService indexingService,
     ICacheService cacheService)
 {
     _packageService = packageService;
     _uploadFileService = uploadFileService;
     _userService = userService;
     _messageService = messageService;
     _searchService = searchService;
     _autoCuratedPackageCmd = autoCuratedPackageCmd;
     _nugetExeDownloaderService = nugetExeDownloaderService;
     _packageFileService = packageFileService;
     _entitiesContext = entitiesContext;
     _config = config;
     _indexingService = indexingService;
     _cacheService = cacheService;
 }
开发者ID:ryanhartley84332,项目名称:NuGetGallery,代码行数:27,代码来源:PackagesController.cs


示例4: JsonApiController

 public JsonApiController(IPackageService packageSvc, IUserService userSvc, IEntityRepository<PackageOwnerRequest> packageOwnerRequestRepository, IMessageService messageService)
 {
     this.packageSvc = packageSvc;
     this.userSvc = userSvc;
     this.packageOwnerRequestRepository = packageOwnerRequestRepository;
     this.messageSvc = messageService;
 }
开发者ID:N198,项目名称:NugetGallery21-DeleteMe,代码行数:7,代码来源:JsonApiController.cs


示例5: PackagesController

 //Set up constructor injection
 public PackagesController(IPackageService packageService, IPackageTypeService packageTypeService, IEventLoggerService eventLoggerService, IProgramLinesService programLinesService)
 {
     _packageService = packageService;
     _packageTypeService = packageTypeService;
     _eventLoggerService = eventLoggerService;
     _programLinesService = programLinesService;
 }
开发者ID:sap-sh,项目名称:t,代码行数:8,代码来源:PackagesController.cs


示例6: PackageManager

        public PackageManager(IAvailablePackagesService availablePackagesService, IPackageVersionService packageVersionService, IPackageService packageService, IFileStorageService fileStorageService, ICommandExecuter commandExecuter, ISettingsService settingsService, IInstalledPackagesService installedPackagesService)
        {
            _packageVersionService = packageVersionService;
            _packageService = packageService;
            _availablePackagesService = availablePackagesService;
            _fileStorageService = fileStorageService;
            _commandExecuter = commandExecuter;
            _settingsService = settingsService;
            _installedPackagesService = installedPackagesService;
            _packageVersionService.VersionChanged += VersionChangedHandler;
            _packageVersionService.RunStarted += PackageVersionServiceStarted;
            _availablePackagesService.RunFinshed += PackagesServiceRunFinished;
            _installedPackagesService.RunFinshed += PackagesServiceRunFinished;
            _packageService.RunFinshed += PackageServiceRunFinished;
            _packageService.RunStarted += PackageServiceRunStarted;
            _availablePackagesService.RunFailed += PackagesServiceRunFailed;
            _installedPackagesService.RunFailed += PackagesServiceRunFailed;
            _availablePackagesService.RunStarted += PackagesServiceRunStarted;
            _installedPackagesService.RunStarted += PackagesServiceRunStarted;

            InitializeComponent();

            tabAvailable.ImageIndex = 0;
            tabInstalled.ImageIndex = 1;
            _installedPackagesService.ListOfDistinctHighestInstalledPackages();
        }
开发者ID:jamescurran,项目名称:chocolatey-Explorer,代码行数:26,代码来源:PackageManager.cs


示例7: ApiController

 public ApiController(
     IEntitiesContext entitiesContext,
     IPackageService packageService,
     IPackageFileService packageFileService,
     IUserService userService,
     INuGetExeDownloaderService nugetExeDownloaderService,
     IContentService contentService,
     IIndexingService indexingService,
     ISearchService searchService,
     IAutomaticallyCuratePackageCommand autoCuratePackage,
     IStatusService statusService,
     IAppConfiguration config)
 {
     EntitiesContext = entitiesContext;
     PackageService = packageService;
     PackageFileService = packageFileService;
     UserService = userService;
     NugetExeDownloaderService = nugetExeDownloaderService;
     ContentService = contentService;
     StatisticsService = null;
     IndexingService = indexingService;
     SearchService = searchService;
     AutoCuratePackage = autoCuratePackage;
     StatusService = statusService;
     _config = config;
 }
开发者ID:whyleee,项目名称:RemoteFeedNuGetGallery,代码行数:26,代码来源:ApiController.cs


示例8: ModulesController

 public ModulesController(IPackageService packageService, string uploadsPath, IPushNotificationManager pushNotifier, IUserNameResolver userNameResolver)
 {
     _packageService = packageService;
     _uploadsPath = uploadsPath;
     _pushNotifier = pushNotifier;
     _userNameResolver = userNameResolver;
 }
开发者ID:sameerkattel,项目名称:vc-community,代码行数:7,代码来源:ModulesController.cs


示例9: BidderController

 public BidderController(IBidderService svc, IAuctionMapper<Bidder, BidderListViewModel, CreateBidderViewModel, EditBidderViewModel> mapper, IEventService eventSvc, IPackageService packageSvc, IAuctionMapper<Package, PackageListViewModel, CreatePackageViewModel, EditPackageViewModel> pMapper)
 {
     _svc = svc;
     _mapper = mapper;
     _eventSvc = eventSvc;
     _packageSvc = packageSvc;
     _pMapper = pMapper;
 }
开发者ID:danappleyard,项目名称:auction-csharp,代码行数:8,代码来源:BidderController.cs


示例10: RssController

 public RssController(
     IPackageService packageSvc,
     IConfiguration configuration
 )
 {
     this.packageSvc = packageSvc;
     Configuration = configuration;
 }
开发者ID:patrickkettner,项目名称:chocolatey.org,代码行数:8,代码来源:RssController.cs


示例11: PackagePartDeleter

        public PackagePartDeleter(IPackageService packageService, IOrchardServices orchardServices,
            IScreenshotPartDeleter screenshotPartDeleter, IODataContext oDataContext) {
            _packageService = packageService;
            _screenshotPartDeleter = screenshotPartDeleter;
            _oDataContext = oDataContext;

            Logger = NullLogger.Instance;
        }
开发者ID:NickAndersonX,项目名称:xodb,代码行数:8,代码来源:PackagePartDeleter.cs


示例12: ApiController

 public ApiController(IPackageService packageSvc, IPackageFileService packageFileSvc, IUserService userSvc, INuGetExeDownloaderService nugetExeDownloaderSvc, GallerySetting settings)
 {
     this.packageSvc = packageSvc;
     this.packageFileSvc = packageFileSvc;
     this.userSvc = userSvc;
     this.nugetExeDownloaderSvc = nugetExeDownloaderSvc;
     this.settings = settings;
 }
开发者ID:shrenujgandhi,项目名称:chocolatey.org,代码行数:8,代码来源:ApiController.cs


示例13: PackagesController

 public PackagesController(IPackageBuilder packageBuilder,
     IPackageService packageService,
     IBlobService blobService)
 {
     this.packageBuilder = packageBuilder;
     this.packageService = packageService;
     this.blobService = blobService;
 }
开发者ID:Pliner,项目名称:TinyFeed,代码行数:8,代码来源:PackagesController.cs


示例14: PlatformExportImportController

		public PlatformExportImportController(IPlatformExportImportManager platformExportManager, INotifier eventNotifier, IBlobStorageProvider blobStorageProvider, IBlobUrlResolver blobUrlResolver, IPackageService packageService)
		{
			_platformExportManager = platformExportManager;
			_eventNotifier = eventNotifier;
			_blobStorageProvider = blobStorageProvider;
			_blobUrlResolver = blobUrlResolver;
			_packageService = packageService;
		}
开发者ID:rajendra1809,项目名称:VirtoCommerce,代码行数:8,代码来源:PlatformExportImportController.cs


示例15: PackageIdInUseChecker

 public PackageIdInUseChecker(IPackageService packageService, IODataContext oDataContext, IGalleryPackageService galleryPackageService,
     IUserkeyService userkeyService, IAuthenticationService authenticationService) {
     _packageService = packageService;
     _oDataContext = oDataContext;
     _galleryPackageService = galleryPackageService;
     _userkeyService = userkeyService;
     _authenticationService = authenticationService;
 }
开发者ID:NickAndersonX,项目名称:xodb,代码行数:8,代码来源:PackageIdInUseChecker.cs


示例16: ModuleWorkerJob

 public ModuleWorkerJob(IPackageService packageService, ModuleDescriptor moduleDescriptor, ModuleAction action)
 {
     Id = Guid.NewGuid().ToString("N");
     CancellationToken = new CancellationToken();
     PackageService = packageService;
     ModuleDescriptor = moduleDescriptor;
     Action = action;
     ProgressLog = new List<ProgressMessage>();
 }
开发者ID:rajendra1809,项目名称:VirtoCommerce,代码行数:9,代码来源:ModuleWorkerJob.cs


示例17: NuGetExeDownloaderService

 public NuGetExeDownloaderService(
     IPackageService packageSvc,
     IPackageFileService packageFileSvc,
     IFileStorageService fileStorageSvc)
 {
     this.packageSvc = packageSvc;
     this.packageFileSvc = packageFileSvc;
     this.fileStorageSvc = fileStorageSvc;
 }
开发者ID:shrenujgandhi,项目名称:chocolatey.org,代码行数:9,代码来源:NuGetExeDownloaderService.cs


示例18: ApiController

 public ApiController(IPackageService packageSvc, IScanService scanSvc, IPackageFileService packageFileSvc, IUserService userSvc, INuGetExeDownloaderService nugetExeDownloaderSvc, IConfiguration settings)
 {
     this.packageSvc = packageSvc;
     this.scanSvc = scanSvc;
     this.packageFileSvc = packageFileSvc;
     this.userSvc = userSvc;
     this.nugetExeDownloaderSvc = nugetExeDownloaderSvc;
     this.settings = settings;
 }
开发者ID:chocolatey,项目名称:chocolatey.org,代码行数:9,代码来源:ApiController.cs


示例19: ReflowPackageService

 public ReflowPackageService(
     IEntitiesContext entitiesContext,
     IPackageService packageService,
     IPackageFileService packageFileService)
 {
     _entitiesContext = entitiesContext;
     _packageService = packageService;
     _packageFileService = packageFileService;
 }
开发者ID:ZhiYuanHuang,项目名称:NuGetGallery,代码行数:9,代码来源:ReflowPackageService.cs


示例20: UsersController

 public UsersController(IUserService userSvc, IPackageService packageService, IMessageService messageService, IConfiguration settings, IPrincipal currentUser, IUserSiteProfilesService profilesService)
 {
     userService = userSvc;
     this.packageService = packageService;
     this.messageService = messageService;
     this.settings = settings;
     this.currentUser = currentUser;
     this.profilesService = profilesService;
 }
开发者ID:jberezanski,项目名称:chocolatey.org,代码行数:9,代码来源:UsersController.cs



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

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