本文整理汇总了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;
}
示例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;
}
示例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;
}
示例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;
}
示例5: PackagesController
//Set up constructor injection
public PackagesController(IPackageService packageService, IPackageTypeService packageTypeService, IEventLoggerService eventLoggerService, IProgramLinesService programLinesService)
{
_packageService = packageService;
_packageTypeService = packageTypeService;
_eventLoggerService = eventLoggerService;
_programLinesService = programLinesService;
}
示例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();
}
示例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;
}
示例8: ModulesController
public ModulesController(IPackageService packageService, string uploadsPath, IPushNotificationManager pushNotifier, IUserNameResolver userNameResolver)
{
_packageService = packageService;
_uploadsPath = uploadsPath;
_pushNotifier = pushNotifier;
_userNameResolver = userNameResolver;
}
示例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;
}
示例10: RssController
public RssController(
IPackageService packageSvc,
IConfiguration configuration
)
{
this.packageSvc = packageSvc;
Configuration = configuration;
}
示例11: PackagePartDeleter
public PackagePartDeleter(IPackageService packageService, IOrchardServices orchardServices,
IScreenshotPartDeleter screenshotPartDeleter, IODataContext oDataContext) {
_packageService = packageService;
_screenshotPartDeleter = screenshotPartDeleter;
_oDataContext = oDataContext;
Logger = NullLogger.Instance;
}
示例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;
}
示例13: PackagesController
public PackagesController(IPackageBuilder packageBuilder,
IPackageService packageService,
IBlobService blobService)
{
this.packageBuilder = packageBuilder;
this.packageService = packageService;
this.blobService = blobService;
}
示例14: PlatformExportImportController
public PlatformExportImportController(IPlatformExportImportManager platformExportManager, INotifier eventNotifier, IBlobStorageProvider blobStorageProvider, IBlobUrlResolver blobUrlResolver, IPackageService packageService)
{
_platformExportManager = platformExportManager;
_eventNotifier = eventNotifier;
_blobStorageProvider = blobStorageProvider;
_blobUrlResolver = blobUrlResolver;
_packageService = packageService;
}
示例15: PackageIdInUseChecker
public PackageIdInUseChecker(IPackageService packageService, IODataContext oDataContext, IGalleryPackageService galleryPackageService,
IUserkeyService userkeyService, IAuthenticationService authenticationService) {
_packageService = packageService;
_oDataContext = oDataContext;
_galleryPackageService = galleryPackageService;
_userkeyService = userkeyService;
_authenticationService = authenticationService;
}