public Worker(ILogger <Worker> logger, IOptions <KafkaSetting> kafkaSetting, IToposTypedEventMediator <RouteNetworkEditOperationOccuredEvent> eventMediator, InMemoryNetworkState inMemoryNetworkState) { _logger = logger; _kafkaSetting = kafkaSetting; _eventMediator = eventMediator; _inMemoryNetworkState = inMemoryNetworkState; }
public ElementNotFeededValidator(ILogger <ElementNotFeededValidator> logger, InMemoryNetworkState inMemoryNetworkState, PostgresWriter postgresWriter, IOptions <DatabaseSetting> databaseSetting, IProducer eventProducer, IOptions <KafkaSetting> kafkaSetting) { _logger = logger; _inMemoryNetworkState = inMemoryNetworkState; _postgresWriter = postgresWriter; _databaseSetting = databaseSetting.Value; _eventProducer = eventProducer; _kafkaSetting = kafkaSetting.Value; }
public RouteNetworkEventHandler(ILogger <RouteNetworkEventHandler> logger, InMemoryNetworkState inMemoryNetworkState) { _logger = logger; _inMemoryNetworkState = inMemoryNetworkState; }