public MessageConsumerService(ILogger <MessageConsumerService> logger, IOptions <AppOption> appOptions, IServiceProvider serviceProvider, IMessageConsumerFactory messageConsumerFactory) { _logger = logger; _serviceProvider = serviceProvider; _messageConsumerFactory = messageConsumerFactory; _appOptions = appOptions.Value; }
public FileLogger(IOptions <AppOption> appOptions) { _appOptions = appOptions.Value; }
public MessagePublisherService(ILogger <MessagePublisherService> logger, IOptions <AppOption> appOptions, IServiceProvider serviceProvider) { _logger = logger; _serviceProvider = serviceProvider; _appOptions = appOptions.Value; }
public SingleTypeMessageConsumer(IOptions <AppOption> appOptions, ILogger <MessageGenerator> logger, IFileLogger fileLogger) { _appOptions = appOptions.Value; _logger = logger; _fileLogger = fileLogger; }
public MessageGenerator(IOptions <AppOption> appOptions, IServiceProvider serviceProvider, ILogger <MessageGenerator> logger) { _appOptions = appOptions.Value; _serviceProvider = serviceProvider; _logger = logger; }