public BacktesingTraceStartedIntegrationEventHandler( ICandleChartRepository candleChartRepository, IExchangeAccessIntegrationEventService exchangeAccessIntegrationEventService, IExchangeAccessService exchangeAccessService ) { this._candleChartRepository = candleChartRepository ?? throw new ArgumentNullException(nameof(candleChartRepository)); this._exchangeAccessIntegrationEventService = exchangeAccessIntegrationEventService ?? throw new ArgumentNullException(nameof(exchangeAccessIntegrationEventService)); this._exchangeAccessService = exchangeAccessService ?? throw new ArgumentNullException(nameof(exchangeAccessService)); }
public TraceDataRequestedIntegrationEventHandler(ICandleChartRepository candleChartRepository, IExchangeAccessIntegrationEventService exchangeAccessIntegrationEventService, IExchangeAccessService exchangeAccessService) { _candleChartRepository = candleChartRepository ?? throw new ArgumentNullException(nameof(candleChartRepository)); _exchangeAccessIntegrationEventService = exchangeAccessIntegrationEventService ?? throw new ArgumentNullException(nameof(exchangeAccessIntegrationEventService)); _exchangeAccessService = exchangeAccessService ?? throw new ArgumentNullException(nameof(exchangeAccessService)); }
public ExchangeAccessService(IMarketRepository marketRepository, IBalanceRepository balanceRepository, ICandleChartRepository candleChartRepository) { this._marketRepository = marketRepository ?? throw new ArgumentNullException(nameof(marketRepository)); this._balanceRepository = balanceRepository ?? throw new ArgumentNullException(nameof(balanceRepository)); this._candleChartRepository = candleChartRepository ?? throw new ArgumentNullException(nameof(candleChartRepository)); }
public CandleChartsController(ExchangeAccessContext context, ICandleChartRepository candleChartRepository, IExchangeAccessService exchangeAccessService) { _context = context; _candleChartRepository = candleChartRepository ?? throw new ArgumentNullException(nameof(candleChartRepository)); this._exchangeAccessService = exchangeAccessService ?? throw new ArgumentNullException(nameof(exchangeAccessService)); }