示例#1
0
        public ProcessorService(IOptions <BackgroundTaskSettings> settings, ILogger <ProcessorService> logger, IServiceScopeFactory serviceScopeFactory, AtlasService atlasService)
        {
            _settings            = settings?.Value ?? throw new ArgumentNullException(nameof(settings));
            _logger              = logger ?? throw new ArgumentNullException(nameof(logger));
            _serviceScopeFactory = serviceScopeFactory;

            _atlasService = atlasService ?? throw new ArgumentNullException(nameof(atlasService));
        }
示例#2
0
 public ExecuteBatchCommandHandler(
     ILogger <FunctionalObjectCommandsHandler> logger,
     IUnitOfWork unitOfWork,
     ICleanUpRepository cleanUpRepository,
     IBatchGroupRepository batchGroupRepository,
     AtlasService atlasService)
 {
     _cleanUpRepository    = cleanUpRepository ?? throw new ArgumentNullException(nameof(cleanUpRepository));
     _batchGroupRepository = batchGroupRepository ?? throw new ArgumentNullException(nameof(batchGroupRepository));
     _unitOfWork           = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork));
     _logger       = logger ?? throw new ArgumentNullException(nameof(logger));
     _atlasService = atlasService ?? throw new ArgumentNullException(nameof(atlasService));
 }
示例#3
0
 public BackInterfaceController(AtlasService atlasService, ILogger <BackInterfaceController> logger)
 {
     _atlasService = atlasService ?? throw new ArgumentNullException(nameof(atlasService));
     _logger       = logger;
 }