示例#1
0
 public CoingecoSpy(
     CoingeckoClient coingeckoClient,
     BotWebApiClient botWebApiClient,
     EntityRepository <Listing> listingRepository,
     EntityRepository <PriceAlert> alertsRepository,
     TelegramBotClient botClient)
 {
     this.coingeckoClient   = coingeckoClient;
     this.botWebApiClient   = botWebApiClient;
     this.listingRepository = listingRepository;
     this.alertsRepository  = alertsRepository;
     this.botClient         = botClient;
 }
示例#2
0
 public ListingBotCommand(TelegramBotClient bot, EntityRepository <Listing> listingRepository, CoingeckoClient coingeckoClient)
 {
     this.bot = bot;
     this.listingRepository = listingRepository;
     this.coingeckoClient   = coingeckoClient;
 }