public DefaultCandlesPublisher(IRabbitMqPublishersFactory publishersFactory,
                                string connectionString,
                                string nspace,
                                string shardName)
     : base(publishersFactory, connectionString, nspace, shardName, string.Empty)
 {
 }
示例#2
0
 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;
 }