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)); }
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)); }
public BackInterfaceController(AtlasService atlasService, ILogger <BackInterfaceController> logger) { _atlasService = atlasService ?? throw new ArgumentNullException(nameof(atlasService)); _logger = logger; }