public ExchangeAccessIntegrationEventService(IEventBus eventBus, ExchangeAccessContext exchangeAccessContext, Func <DbConnection, IIntegrationEventLogService> integrationEventLogServiceFactory) { _exchangeAccessContext = exchangeAccessContext ?? throw new ArgumentNullException(nameof(exchangeAccessContext)); _integrationEventLogServiceFactory = integrationEventLogServiceFactory ?? throw new ArgumentNullException(nameof(integrationEventLogServiceFactory)); _eventBus = eventBus ?? throw new ArgumentNullException(nameof(eventBus)); _eventLogService = _integrationEventLogServiceFactory(_exchangeAccessContext.Database.GetDbConnection()); }
public CandleChartRepository(ExchangeAccessContext context) { _context = context ?? throw new ArgumentNullException(nameof(context)); }
public BalancesController(ExchangeAccessContext context, IBalanceRepository balanceRepository) { _context = context; _balanceRepository = balanceRepository ?? throw new ArgumentNullException(nameof(balanceRepository)); }
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)); }
public RequestManager(ExchangeAccessContext context) { _context = context ?? throw new ArgumentNullException(nameof(context)); }
public MarketsController(ExchangeAccessContext context, IMarketRepository marketRepository, IExchangeAccessService exchangeAccessService) { _context = context; this._marketRepository = marketRepository ?? throw new ArgumentNullException(nameof(marketRepository)); this._exchangeAccessService = exchangeAccessService ?? throw new ArgumentNullException(nameof(exchangeAccessService)); }