public LimitOrdersSubscriber( [NotNull] IRabbitMqSubscribeHelper rabbitMqSubscribeHelper, [NotNull] IOrdersPublisher ordersPublisher, [NotNull] string connectionString, [NotNull] string exchangeName, [NotNull] MarketType marketType, [NotNull] ILog log) { _rabbitMqSubscribeHelper = rabbitMqSubscribeHelper ?? throw new ArgumentNullException(nameof(rabbitMqSubscribeHelper)); _ordersPublisher = ordersPublisher ?? throw new ArgumentNullException(nameof(ordersPublisher)); _connectionString = connectionString ?? throw new ArgumentNullException(nameof(connectionString)); _marketType = marketType; _exchangeName = exchangeName ?? throw new ArgumentNullException(nameof(exchangeName)); _log = log ?? throw new ArgumentNullException(nameof(log)); }