Exemplo n.º 1
0
 public TelegramServer(IConfiguration configuration, TelegramContext telegramContext, Dispatcher dispatcher, MqContext mqContext)
 {
     this.configuration   = configuration;
     this.telegramContext = telegramContext;
     this.dispatcher      = dispatcher;
     this.mqContext       = mqContext;
     mqConsumer           = CreateEventConsumer();
     mqConsumer.Received += OnMqMessageReceived;
 }
Exemplo n.º 2
0
 public MqService(MqContext mqContext)
 {
     this.mqContext = mqContext;
 }
Exemplo n.º 3
0
 public MqService(MqContext context)
 {
     this.context = context;
 }
Exemplo n.º 4
0
 public MqService(MqContext mqContext, IConfiguration configuration)
 {
     this.mqContext     = mqContext;
     this.configuration = configuration;
 }