private IFilePayloadUploadService NewFilePayloadUploadProvider(
     IFileDownloadDatabaseService fileDownloadDatabaseService, IDataStoreServiceFactory dataStoreServiceFactory,
     IFileValidationService fileValidationService)
 {
     return(new FilePayloadUploadProvider(fileDownloadDatabaseService, dataStoreServiceFactory,
                                          fileValidationService));
 }
예제 #2
0
 public KSolutionToCSolutionConverter(ILogger <KSolutionToCSolutionConverter> logger,
                                      IGrpcIntegrationServiceProjectService grpcIntegrationServiceProjectService,
                                      IGrpcServiceProjectService grpcServiceProjectService,
                                      IGrpcServiceIntegrationTestBusinessProjectService grpcServiceIntegrationBusinessTestProjectService,
                                      IGrpcServiceIntegrationTestProjectService grpcServiceIntegrationTestProjectService,
                                      IGrpcServiceClientTestProjectService grpcServiceClientTestProjectService,
                                      IBuildScriptService buildScriptService,
                                      IDataLayerServiceFactory dataLayerServiceFactory,
                                      IDataStoreServiceFactory dataStoreServiceFactory,
                                      IGrpcServiceUnitTestProjectService grpcServiceUnitTestProjectService,
                                      ISolutionFileService solutionFileService,
                                      IDataStoreTestServiceFactory dataStoreTestServiceFactory)
 {
     _logger = logger;
     _grpcIntegrationServiceProjectService             = grpcIntegrationServiceProjectService;
     _grpcServiceProjectService                        = grpcServiceProjectService;
     _grpcServiceIntegrationBusinessTestProjectService = grpcServiceIntegrationBusinessTestProjectService;
     _grpcServiceIntegrationTestProjectService         = grpcServiceIntegrationTestProjectService;
     _grpcServiceClientTestProjectService              = grpcServiceClientTestProjectService;
     _buildScriptService                = buildScriptService;
     _dataLayerServiceFactory           = dataLayerServiceFactory;
     _dataStoreServiceFactory           = dataStoreServiceFactory;
     _grpcServiceUnitTestProjectService = grpcServiceUnitTestProjectService;
     _solutionFileService               = solutionFileService;
     _dataStoreTestServiceFactory       = dataStoreTestServiceFactory;
 }
예제 #3
0
        public FilePayloadUploadProvider(IFileDownloadDatabaseService fileDownloadDatabaseService,
                                         IDataStoreServiceFactory dataStoreServiceFactory,
                                         IFileValidationService fileValidationService)
        {
            this.fileDownloadDatabaseService = fileDownloadDatabaseService
                                               ?? throw new ArgumentNullException(nameof(fileDownloadDatabaseService));
            this.fileValidationService =
                fileValidationService ?? throw new ArgumentNullException(nameof(fileValidationService));

            dataStoreService = dataStoreServiceFactory?.Create()
                               ?? throw new ArgumentNullException(nameof(dataStoreService));
        }
        public StatsDownloadApiDataStoreProvider(IDataStoreServiceFactory dataStoreServiceFactory,
                                                 IStatsDownloadApiDatabaseService databaseService,
                                                 IFileValidationService fileValidationService,
                                                 IFilePayloadApiSettingsService filePayloadApiSettingsService,
                                                 ILoggingService loggingService)
        {
            dataStoreService = dataStoreServiceFactory.Create();

            this.databaseService               = databaseService;
            this.fileValidationService         = fileValidationService;
            this.filePayloadApiSettingsService = filePayloadApiSettingsService;
            this.loggingService = loggingService;
        }
예제 #5
0
 private IFileDownloadService NewFileDownloadProvider(IFileDownloadDatabaseService fileDownloadDatabaseService,
                                                      IFileDownloadLoggingService loggingService,
                                                      IDownloadService downloadService,
                                                      IFilePayloadSettingsService filePayloadSettingsService,
                                                      IResourceCleanupService resourceCleanupService,
                                                      IFileDownloadMinimumWaitTimeService
                                                      fileDownloadMinimumWaitTimeService,
                                                      IDateTimeService dateTimeService,
                                                      IFilePayloadUploadService filePayloadUploadService,
                                                      IFileDownloadEmailService fileDownloadEmailService,
                                                      IDataStoreServiceFactory dataStoreServiceFactory)
 {
     return(new FileDownloadProvider(fileDownloadDatabaseService, loggingService, downloadService,
                                     filePayloadSettingsService, resourceCleanupService, fileDownloadMinimumWaitTimeService, dateTimeService,
                                     filePayloadUploadService, fileDownloadEmailService, dataStoreServiceFactory));
 }
예제 #6
0
        public FileDownloadProvider(IFileDownloadDatabaseService fileDownloadDatabaseService,
                                    IFileDownloadLoggingService loggingService, IDownloadService downloadService,
                                    IFilePayloadSettingsService filePayloadSettingsService,
                                    IResourceCleanupService resourceCleanupService,
                                    IFileDownloadMinimumWaitTimeService fileDownloadMinimumWaitTimeService,
                                    IDateTimeService dateTimeService,
                                    IFilePayloadUploadService filePayloadUploadService,
                                    IFileDownloadEmailService fileDownloadEmailService,
                                    IDataStoreServiceFactory dataStoreServiceFactory)
        {
            this.fileDownloadDatabaseService = fileDownloadDatabaseService;
            this.loggingService                     = loggingService;
            this.downloadService                    = downloadService;
            this.filePayloadSettingsService         = filePayloadSettingsService;
            this.resourceCleanupService             = resourceCleanupService;
            this.fileDownloadMinimumWaitTimeService = fileDownloadMinimumWaitTimeService;
            this.dateTimeService                    = dateTimeService;
            this.filePayloadUploadService           = filePayloadUploadService;
            this.fileDownloadEmailService           = fileDownloadEmailService;

            dataStoreService = dataStoreServiceFactory?.Create();

            ValidateCtorArgs();
        }