Ejemplo n.º 1
0
        public GeoLocalisationMessageHandler(
            ILogger <GeoLocalisationMessageHandler> logger,
            IConnectionFactory rabbitmq,
            IGeoLocalisationContext context,
            IGeoLocalisationFactory factory)
        {
            _logger   = logger;
            _rabbitmq = rabbitmq;
            _context  = context;
            _factory  = factory;

            InitializeRabbitMqListener();
        }
 public GeoLocalisationController(ILogger <GeoLocalisationController> logger, IGeoLocalisationContext context, IGeoLocalisationFactory factory)
 {
     _logger  = logger;
     _context = context;
     _factory = factory;
 }