Ejemplo n.º 1
0
 public DataPointsRecorder(
     ILoggerFactory loggerFactory,
     ICoinDataTableStorage coinDataTableStorage,
     ICoinExplorerService coinExplorerService,
     IMapper mapper)
 {
     this.log = loggerFactory.CreateLogger(Constants.FUNCTION_LOG_KEY);
     this.coinDataTableStorage = coinDataTableStorage ?? throw new ArgumentNullException(nameof(coinDataTableStorage));
     this.coinExplorerService  = coinExplorerService ?? throw new ArgumentNullException(nameof(coinExplorerService));
     this.mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Ejemplo n.º 2
0
 public CoingeckoImporter(
     ILoggerFactory loggerFactory,
     ICoinDataTableStorage coinDataTableStorage,
     IRatingDataTableStorage ratingDataTableStorage,
     ICoinsClient coinGeckoClient,
     IExchangesClient exchangesGeckoClient,
     IMapper mapper)
 {
     this.log = loggerFactory.CreateLogger(Constants.FUNCTION_LOG_KEY);
     this.coinDataTableStorage   = coinDataTableStorage;
     this.ratingDataTableStorage = ratingDataTableStorage;
     this.coinGeckoClient        = coinGeckoClient;
     this.exchangesGeckoClient   = exchangesGeckoClient;
     this.mapper = mapper;
 }
Ejemplo n.º 3
0
 public HistoricalDataFunction(ICoinDataTableStorage coinDataTableStorage)
 {
     this.coinDataTableStorage = coinDataTableStorage;
 }
Ejemplo n.º 4
0
 public MasternodeStatsFunction(ICoinDataTableStorage coinDataTableStorage)
 {
     this.coinDataTableStorage = coinDataTableStorage;
 }
Ejemplo n.º 5
0
 public CoinsFunction(ICoinDataTableStorage coinDataTableStorage, IMapper mapper)
 {
     this.coinDataTableStorage = coinDataTableStorage;
     this.mapper = mapper;
 }
Ejemplo n.º 6
0
 public CoinExchangesFunction(ICoinDataTableStorage coinDataTableStorage)
 {
     this.coinDataTableStorage = coinDataTableStorage;
 }