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; }
public MqService(MqContext mqContext) { this.mqContext = mqContext; }
public MqService(MqContext context) { this.context = context; }
public MqService(MqContext mqContext, IConfiguration configuration) { this.mqContext = mqContext; this.configuration = configuration; }