示例#1
0
 public StartupCheckingService(
     IMicroBus bus,
     TelegramConfig telegramConfig,
     TelegramBot bot,
     GeneralConfig config,
     LiteDbDatabaseService liteDbDatabaseService,
     CryptoGramBotDbContext context
     )
 {
     _bus                   = bus;
     _telegramConfig        = telegramConfig;
     _bot                   = bot;
     _config                = config;
     _liteDbDatabaseService = liteDbDatabaseService;
     _context               = context;
 }
示例#2
0
 public DatabaseService(ILogger <DatabaseService> log, CryptoGramBotDbContext context)
 {
     _log     = log;
     _context = context;
 }
示例#3
0
 public DatabaseService(ILogger <DatabaseService> log, CryptoGramBotDbContext context, GeneralConfig config)
 {
     _log     = log;
     _context = context;
     _config  = config;
 }