public DefaultCandlesPublisher(IRabbitMqPublishersFactory publishersFactory, string connectionString, string nspace, string shardName) : base(publishersFactory, connectionString, nspace, shardName, string.Empty) { }
public CandlesPublisher(IRabbitMqPublishersFactory publishersFactory, string connectionString, string nspace, string shardName, string shardPattern) { _publishersFactory = publishersFactory ?? throw new ArgumentNullException(nameof(publishersFactory)); _connectionString = connectionString ?? throw new ArgumentNullException(nameof(connectionString)); _namespace = nspace ?? throw new ArgumentNullException(nameof(nspace)); _shardName = shardName ?? throw new ArgumentNullException(nameof(shardName)); _shardPattern = shardPattern; }