Esempio n. 1
0
 public TelegramLogger(string name, TelegramLoggerOptions config, ITelegramMessageService telegramMessageService)
 {
     _name   = name;
     _config = config;
     _telegramMessageService = telegramMessageService;
 }
Esempio n. 2
0
 public TelegramLoggerProvider(IOptionsMonitor <TelegramLoggerOptions> config, ITelegramMessageService telegramMessageService)
 {
     _config = config.CurrentValue;
     _telegramMessageService = telegramMessageService;
 }
Esempio n. 3
0
 public QueuedHostedService(IBackgroundLogMessageEntryQueue taskQueue, ITelegramMessageService telegramMessageService)
 {
     _taskQueue = taskQueue;
     _telegramMessageService = telegramMessageService;
 }