本文整理汇总了C#中IPackageFileService类的典型用法代码示例。如果您正苦于以下问题:C# IPackageFileService类的具体用法?C# IPackageFileService怎么用?C# IPackageFileService使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
IPackageFileService类属于命名空间,在下文中一共展示了IPackageFileService类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: 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;
}
示例2: PackageService
public PackageService(
ICryptographyService cryptoSvc,
IEntityRepository<PackageRegistration> packageRegistrationRepo,
IEntityRepository<Package> packageRepo,
IEntityRepository<PackageStatistics> packageStatsRepo,
IPackageFileService packageFileSvc,
IEntityRepository<PackageOwnerRequest> packageOwnerRequestRepository,
IIndexingService indexingSvc,
IEntityRepository<PackageAuthor> packageAuthorRepo,
IEntityRepository<PackageFramework> packageFrameworksRepo,
IEntityRepository<PackageDependency> packageDependenciesRepo,
IEntityRepository<PackageFile> packageFilesRepo,
IMessageService messageSvc)
{
this.cryptoSvc = cryptoSvc;
this.packageRegistrationRepo = packageRegistrationRepo;
this.packageRepo = packageRepo;
this.packageStatsRepo = packageStatsRepo;
this.packageFileSvc = packageFileSvc;
this.packageOwnerRequestRepository = packageOwnerRequestRepository;
this.indexingSvc = indexingSvc;
this.packageAuthorRepo = packageAuthorRepo;
this.packageFrameworksRepo = packageFrameworksRepo;
this.packageDependenciesRepo = packageDependenciesRepo;
this.packageFilesRepo = packageFilesRepo;
this.messageSvc = messageSvc;
}
示例3: 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;
}
示例4: ApiController
public ApiController(IPackageService packageSvc, IPackageFileService packageFileSvc, IUserService userSvc, INuGetExeDownloaderService nugetExeDownloaderSvc)
{
this.packageSvc = packageSvc;
this.packageFileSvc = packageFileSvc;
this.userSvc = userSvc;
this.nugetExeDownloaderSvc = nugetExeDownloaderSvc;
}
示例5: 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;
}
示例6: 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;
}
示例7: ReflowPackageService
public ReflowPackageService(
IEntitiesContext entitiesContext,
IPackageService packageService,
IPackageFileService packageFileService)
{
_entitiesContext = entitiesContext;
_packageService = packageService;
_packageFileService = packageFileService;
}
示例8: NuGetExeDownloaderService
public NuGetExeDownloaderService(
IPackageService packageService,
IPackageFileService packageFileService,
IFileStorageService fileStorageService)
{
_packageService = packageService;
_packageFileService = packageFileService;
_fileStorageService = fileStorageService;
}
示例9: NuGetExeDownloaderService
public NuGetExeDownloaderService(
IPackageService packageSvc,
IPackageFileService packageFileSvc,
IFileStorageService fileStorageSvc)
{
this.packageSvc = packageSvc;
this.packageFileSvc = packageFileSvc;
this.fileStorageSvc = fileStorageSvc;
}
示例10: 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;
}
示例11: ApiController
public ApiController(
IPackageService packageService,
IPackageFileService packageFileService,
IUserService userService,
INuGetExeDownloaderService nugetExeDownloaderService)
{
_packageService = packageService;
_packageFileService = packageFileService;
_userService = userService;
_nugetExeDownloaderService = nugetExeDownloaderService;
}
示例12: ApiController
public ApiController(
IPackageService packageService,
IPackageFileService packageFileService,
IUserService userService,
INuGetExeDownloaderService nugetExeDownloaderService,
IContentService contentService,
IIndexingService indexingService,
IStatisticsService statisticsService)
: this(packageService, packageFileService, userService, nugetExeDownloaderService, contentService, indexingService)
{
_statisticsService = statisticsService;
}
示例13: PackageService
public PackageService(
ICryptographyService cryptoSvc,
IEntityRepository<PackageRegistration> packageRegistrationRepo,
IEntityRepository<Package> packageRepo,
IEntityRepository<PackageStatistics> packageStatsRepo,
IPackageFileService packageFileSvc)
{
this.cryptoSvc = cryptoSvc;
this.packageRegistrationRepo = packageRegistrationRepo;
this.packageRepo = packageRepo;
this.packageStatsRepo = packageStatsRepo;
this.packageFileSvc = packageFileSvc;
}
示例14: PackagesController
public PackagesController(
ICryptographyService cryptoSvc,
IPackageService packageSvc,
IPackageFileService packageFileRepo,
IUserService userSvc,
IMessageService messageService)
{
this.cryptoSvc = cryptoSvc;
this.packageSvc = packageSvc;
this.packageFileSvc = packageFileRepo;
this.userSvc = userSvc;
this.messageService = messageService;
}
示例15: ApiController
public ApiController(
IEntitiesContext entitiesContext,
IPackageService packageService,
IPackageFileService packageFileService,
IUserService userService,
INuGetExeDownloaderService nugetExeDownloaderService,
IContentService contentService,
IIndexingService indexingService,
IAutomaticallyCuratePackageCommand autoCuratePackage,
IStatisticsService statisticsService)
: this(entitiesContext, packageService, packageFileService, userService, nugetExeDownloaderService, contentService, indexingService, autoCuratePackage)
{
StatisticsService = statisticsService;
}