コード例 #1
0
 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)
 {
     _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;
 }
コード例 #2
0
 public ApiController(
     IApiScopeEvaluator apiScopeEvaluator,
     IEntitiesContext entitiesContext,
     IPackageService packageService,
     IPackageFileService packageFileService,
     IUserService userService,
     IContentService contentService,
     IIndexingService indexingService,
     ISearchService searchService,
     IAutomaticallyCuratePackageCommand autoCuratePackage,
     IStatusService statusService,
     IStatisticsService statisticsService,
     IMessageService messageService,
     IAuditingService auditingService,
     IGalleryConfigurationService configurationService,
     ITelemetryService telemetryService,
     AuthenticationService authenticationService,
     ICredentialBuilder credentialBuilder,
     ISecurityPolicyService securityPolicies,
     IReservedNamespaceService reservedNamespaceService,
     IPackageUploadService packageUploadService,
     IPackageDeleteService packageDeleteService)
     : this(apiScopeEvaluator, entitiesContext, packageService, packageFileService, userService, contentService,
            indexingService, searchService, autoCuratePackage, statusService, messageService, auditingService,
            configurationService, telemetryService, authenticationService, credentialBuilder, securityPolicies,
            reservedNamespaceService, packageUploadService, packageDeleteService)
 {
     StatisticsService = statisticsService;
 }
コード例 #3
0
 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)
 {
     _packageService = packageService;
     _uploadFileService = uploadFileService;
     _messageService = messageService;
     _searchService = searchService;
     _autoCuratedPackageCmd = autoCuratedPackageCmd;
     _packageFileService = packageFileService;
     _entitiesContext = entitiesContext;
     _config = config;
     _indexingService = indexingService;
     _cacheService = cacheService;
     _editPackageService = editPackageService;
     _packageDeleteService = packageDeleteService;
 }
コード例 #4
0
 public DeleteController(
     IPackageService packageService,
     IPackageDeleteService packageDeleteService,
     ITelemetryService telemetryService)
 {
     _packageService       = packageService;
     _packageDeleteService = packageDeleteService;
     _telemetryService     = telemetryService;
 }
コード例 #5
0
 public ApiController(
     IApiScopeEvaluator apiScopeEvaluator,
     IEntitiesContext entitiesContext,
     IPackageService packageService,
     IPackageFileService packageFileService,
     IUserService userService,
     IContentService contentService,
     IIndexingService indexingService,
     ISearchService searchService,
     IAutomaticallyCuratePackageCommand autoCuratePackage,
     IStatusService statusService,
     IMessageService messageService,
     IAuditingService auditingService,
     IGalleryConfigurationService configurationService,
     ITelemetryService telemetryService,
     AuthenticationService authenticationService,
     ICredentialBuilder credentialBuilder,
     ISecurityPolicyService securityPolicies,
     IReservedNamespaceService reservedNamespaceService,
     IPackageUploadService packageUploadService,
     IPackageDeleteService packageDeleteService)
 {
     ApiScopeEvaluator        = apiScopeEvaluator;
     EntitiesContext          = entitiesContext;
     PackageService           = packageService;
     PackageFileService       = packageFileService;
     UserService              = userService;
     ContentService           = contentService;
     IndexingService          = indexingService;
     SearchService            = searchService;
     AutoCuratePackage        = autoCuratePackage;
     StatusService            = statusService;
     MessageService           = messageService;
     AuditingService          = auditingService;
     ConfigurationService     = configurationService;
     TelemetryService         = telemetryService;
     AuthenticationService    = authenticationService;
     CredentialBuilder        = credentialBuilder;
     SecurityPolicyService    = securityPolicies;
     ReservedNamespaceService = reservedNamespaceService;
     PackageUploadService     = packageUploadService;
     StatisticsService        = null;
 }