public BulkUploadController( ILogger <BulkUploadController> logger, IBulkUploadService bulkUploadService, IBlobStorageService blobService, ICourseService courseService, IWebHostEnvironment env, IProviderService providerService, IBackgroundTaskQueue queue) { if (logger == null) { throw new ArgumentNullException(nameof(logger)); } if (bulkUploadService == null) { throw new ArgumentNullException(nameof(bulkUploadService)); } if (blobService == null) { throw new ArgumentNullException(nameof(blobService)); } if (courseService == null) { throw new ArgumentNullException(nameof(courseService)); } if (env == null) { throw new ArgumentNullException(nameof(env)); } if (courseService == null) { throw new ArgumentNullException(nameof(courseService)); } if (providerService == null) { throw new ArgumentNullException(nameof(providerService)); } if (queue == null) { throw new ArgumentNullException(nameof(queue)); } _logger = logger; _bulkUploadService = bulkUploadService; _blobService = blobService; _courseService = courseService; _env = env; _courseService = courseService; _providerService = providerService; _queue = queue; }
public BulkUploadController( IBulkUploadService bulkUploadService, IBlobStorageService blobService, ICourseService courseService, ICosmosDbQueryDispatcher cosmosDbQueryDispatcher, IBackgroundWorkScheduler backgroundWorkScheduler, ILogger <BulkUploadController> logger, IProviderContextProvider providerContextProvider) { _bulkUploadService = bulkUploadService ?? throw new ArgumentNullException(nameof(bulkUploadService)); _blobService = blobService ?? throw new ArgumentNullException(nameof(blobService)); _courseService = courseService ?? throw new ArgumentNullException(nameof(courseService)); _cosmosDbQueryDispatcher = cosmosDbQueryDispatcher ?? throw new ArgumentNullException(nameof(cosmosDbQueryDispatcher)); _backgroundWorkScheduler = backgroundWorkScheduler ?? throw new ArgumentNullException(nameof(backgroundWorkScheduler)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _providerContextProvider = providerContextProvider; }
public ProcessAnnouncementTask(DateTime? firstAnnouncedDate) { _searvice = new BulkUploadService(); _firstAnnouncedDate = firstAnnouncedDate; }
public PriceReportBulkInsertTask(string fileName) { _service = new BulkUploadService(); _fileName = fileName; }
public ProcessTitleTask() { _searvice = new BulkUploadService(); }
public ProcessPipeLineOrderTask() { _searvice = new BulkUploadService(); }
public FTPAnnouncementArchiveTask() { _searvice = new BulkUploadService(); }
/// <summary> /// Create instance for BulkUploadService /// </summary> public FTPPriceReportArchiveTask() { _searvice = new BulkUploadService(); }
public ProcessPriceReportTask() { _searvice = new BulkUploadService(); }
public VIDBulkInsertTask() { _service = new BulkUploadService(); }
public FTPPipelineOrderArchiveTask() { _searvice = new BulkUploadService(); }
/// <summary> /// Create instance for BulkUploadService /// </summary> /// <param name="fileName">Announcement file name</param> public AnnouncementBulkInsertTask(string fileName) { _service = new BulkUploadService(); _fileName = fileName; }
public PipeLineOrderFTPDownloadTask() { _searvice = new BulkUploadService(); }
/// <summary> /// Create instance for BulkUploadService /// </summary> /// <param name="fileName">PipeLine order file name</param> public PipeLineOrderBulkInsertTask(string fileName) { _service = new BulkUploadService(); _fileName = fileName; }
public BulkUploadController(IBulkUploadService bulkUploadService, IServiceFactory serviceFactory) : base(serviceFactory) { _bulkUploadService = bulkUploadService; }
public QCReportFTPDownloadTask() { _searvice = new BulkUploadService(); }
public AnnouncementUploaderJob(List <ITask> tasks) { //_config = config; _tasks = tasks; _service = new BulkUploadService(); }
/// <summary> /// Create instance for BulkUploadService /// </summary> public AnnouncementFTPDownloadTask() { _searvice = new BulkUploadService(); }
public VIDFTPDownloadTask() { _searvice = new BulkUploadService(); }