Exemplo n.º 1
0
 public MessageProducer(IOptions <MessageProducerSettings> options)
 {
     Settings = options.Value;
 }
Exemplo n.º 2
0
 public MessageProducerService(IServiceProvider serviceProvider, IOptions <MessageProducerSettings> options)
 {
     Settings = options.Value;
     Services = serviceProvider;
 }
Exemplo n.º 3
0
 public MessageProducerService(IOptions <MessageProducerSettings> options, IMetadataCache cache)
 {
     _metadataCache = cache;
     Settings       = options.Value;
 }