public MessageConsumerService(IOptions <MessageConsumerSettings> options, IMetadataCache cache) { _metadataCache = cache; Settings = options.Value; }
public MessageConsumer(IServiceProvider serviceProvider, IOptions <MessageConsumerSettings> options) { Settings = options.Value; Services = serviceProvider; }