public RouteSegmentDeletedHandler(
     IEventStore eventStore,
     IRouteSegmentEventFactory routeSegmentEventFactory,
     ILogger <RouteSegmentDeletedHandler> logger)
 {
     _eventStore = eventStore;
     _routeSegmentEventFactory = routeSegmentEventFactory;
     _logger = logger;
 }
예제 #2
0
 public ExistingRouteSegmentSplittedHandler(
     ILogger <ExistingRouteSegmentSplittedHandler> logger,
     IGeoDatabase geoDatabase,
     IRouteSegmentFactory routeSegmentFactory,
     IRouteSegmentEventFactory routeSegmentEventFactory,
     IRouteNodeEventFactory routeNodeEventFactory,
     IEventStore eventStore)
 {
     _logger                   = logger;
     _geoDatabase              = geoDatabase;
     _routeSegmentFactory      = routeSegmentFactory;
     _routeSegmentEventFactory = routeSegmentEventFactory;
     _routeNodeEventFactory    = routeNodeEventFactory;
     _eventStore               = eventStore;
 }
 public RouteNodeLocationChangedHandler(
     ILogger <RouteNodeLocationChangedHandler> logger,
     IOptions <KafkaSetting> kafkaSettings,
     IEventStore eventStore,
     IGeoDatabase geoDatabase,
     IMediator mediator,
     IRouteNodeEventFactory routeNodeEventFactory,
     IRouteSegmentEventFactory routeSegmentEventFactory)
 {
     _logger                   = logger;
     _kafkaSettings            = kafkaSettings.Value;
     _eventStore               = eventStore;
     _geoDatabase              = geoDatabase;
     _mediator                 = mediator;
     _routeNodeEventFactory    = routeNodeEventFactory;
     _routeSegmentEventFactory = routeSegmentEventFactory;
 }
 public NewRouteSegmentDigitizedHandler(
     ILogger <NewRouteSegmentDigitizedHandler> logger,
     IGeoDatabase geoDatabase,
     IRouteNodeFactory routeNodeFactory,
     IRouteNodeEventFactory routeNodeEventFactory,
     IRouteSegmentEventFactory routeSegmentEventFactory,
     IEventStore eventStore,
     IOptions <ApplicationSetting> applicationSettings)
 {
     _logger                   = logger;
     _geoDatabase              = geoDatabase;
     _routeNodeFactory         = routeNodeFactory;
     _routeNodeEventFactory    = routeNodeEventFactory;
     _routeSegmentEventFactory = routeSegmentEventFactory;
     _eventStore               = eventStore;
     _applicationSettings      = applicationSettings.Value;
 }
예제 #5
0
 public RouteSegmentConnectivityChangedHandler(
     ILogger <RouteSegmentConnectivityChangedHandler> logger,
     IOptions <KafkaSetting> kafkaSettings,
     IOptions <ApplicationSetting> applicationSettings,
     IGeoDatabase geoDatabase,
     IRouteNodeFactory routeNodeFactory,
     IRouteSegmentFactory routeSegmentFactory,
     IRouteNodeEventFactory routeNodeEventFactory,
     IRouteSegmentEventFactory routeSegmentEventFactory,
     IEventStore eventStore,
     IValidationService validationService = null)
 {
     _logger                   = logger;
     _kafkaSettings            = kafkaSettings.Value;
     _applicationSettings      = applicationSettings.Value;
     _geoDatabase              = geoDatabase;
     _routeNodeFactory         = routeNodeFactory;
     _routeSegmentFactory      = routeSegmentFactory;
     _routeNodeEventFactory    = routeNodeEventFactory;
     _routeSegmentEventFactory = routeSegmentEventFactory;
     _eventStore               = eventStore;
     _validationService        = validationService;
 }