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


C# IPackageService类代码示例

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


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


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