示例#1
0
 public Publisher(QueueConfig _queueConfig)
 {
     queue = QueueFactory.CreateClient(_queueConfig, false);
 }
示例#2
0
 public Publisher(Microsoft.Extensions.Options.IOptions <QueueConfig> options)
 {
     queue = QueueFactory.CreateClient(options.Value, false);
 }