public VehicleStatusRecievedIntegrationEventHandler(IVehicleServiceUOW uow, IEventBus eventBus, ILoggerFactory loggerFactory) { _uow = uow; _eventBus = eventBus; _logger = loggerFactory?.CreateLogger <VehicleStatusRecievedIntegrationEventHandler>(); if (_logger == null) { throw new ArgumentNullException(nameof(loggerFactory)); } }
public CustomersController(IVehicleServiceUOW uow, ILogger <CustomersController> logger, IOptions <GeneralAppSettings> configOptions) { _uow = uow; _logger = logger; _config = configOptions.Value; }
public MonitoringBoardController(IVehicleServiceUOW uow, ILogger <MonitoringBoardController> logger, IOptions <GeneralAppSettings> configOptions) { _uow = uow; _logger = logger; _config = configOptions.Value; }