public TokenConverter(CurrencyConverter currencyConverter, ICurrencyService currencyService, ICoinMarketCapClient coinMarketCapClient, IFixerClient fixerClient)
 {
     this.currencyConverter   = currencyConverter;
     this.currencyService     = currencyService;
     this.coinMarketCapClient = coinMarketCapClient;
     this.fixerClient         = fixerClient;
 }
Example #2
0
 public StatusService(
     IRepository <Currency> currencyRepository,
     IMapper mapper,
     ICoinMarketCapClient coinMarketCapClient)
 {
     _currencyRepository  = currencyRepository;
     _mapper              = mapper;
     _coinMarketCapClient = coinMarketCapClient;
 }
Example #3
0
 public UpdateCurrenciesJob(
     IMapper mapper,
     ILogger <UpdateCurrenciesJob> logger,
     MainDbContext mainDbContext,
     ICoinMarketCapClient coinMarketCapClient,
     IRepository <Currency> currencyRepository)
 {
     _mapper              = mapper;
     _logger              = logger;
     _mainDbContext       = mainDbContext;
     _coinMarketCapClient = coinMarketCapClient;
     _currencyRepository  = currencyRepository;
 }
 public DashboardListRepository()
 {
     _client = CoinMarketCapConnection.Create();
 }
 public LatestDataRepository()
 {
     _cryptoCompareClient = new CryptoCompareClient(new HttpClientHandler());
     _context             = new CoinMarketCapContext();
     _coinMarketCapClient = CoinMarketCapConnection.Create();
 }
Example #6
0
 public CoinMarketCapService(ICoinMarketCapClient coinMarketCapClient, ILogFactory logFactory)
 {
     _coinMarketCapClient = coinMarketCapClient;
     _log = logFactory.CreateLog(this);
 }
 public CoinMarketCapClientCachingDecorator(ICoinMarketCapClient decoratee)
 {
     this.decoratee = decoratee;
 }
 public TopCryptoRepository()
 {
     _client = CoinMarketCapConnection.Create();
 }
 public AutoPopularCoinAdder(ICurrencyService currencyService, ICoinMarketCapClient coinMarketCapClient)
 {
     this.currencyService     = currencyService;
     this.coinMarketCapClient = coinMarketCapClient;
 }
 public CurrencyConverter(ICoinMarketCapClient coinmarkcapClient, IFixerClient fixerClient)
 {
     this.coinmarkcapClient = coinmarkcapClient;
     this.fixerClient       = fixerClient;
 }
 public GlobalMetricsRepository()
 {
     _client = CoinMarketCapConnection.Create();
 }
Example #12
0
 public QuoteService(ICoinMarketCapClient client)
 {
     _client = client;
 }