public ExampleController(
     IProducingService producingService,
     ILogger <ExampleController> logger)
 {
     _producingService = producingService;
     _logger           = logger;
 }
コード例 #2
0
 public ErrorProcessingService(
     IProducingService producingService,
     IEnumerable <RabbitMqExchange> exchanges,
     ILoggingService loggingService)
 {
     _producingService = producingService;
     _exchanges        = exchanges;
     _loggingService   = loggingService;
 }
コード例 #3
0
 public MessageHandlingService(
     IProducingService producingService,
     IMessageHandlerContainerBuilder messageHandlerContainerBuilder,
     IEnumerable <RabbitMqExchange> exchanges,
     ILogger <MessageHandlingService> logger)
 {
     _producingService         = producingService;
     _exchanges                = exchanges;
     _messageHandlerContainers = messageHandlerContainerBuilder.BuildCollection();
     _logger = logger;
 }
 public ChannelDeclarationService(
     IProducingService producingService,
     IConsumingService consumingService,
     IRabbitMqConnectionFactory rabbitMqConnectionFactory,
     IOptions <RabbitMqConnectionOptions> connectionOptions,
     IEnumerable <RabbitMqExchange> exchanges,
     ILoggingService loggingService)
 {
     _producingService          = producingService;
     _consumingService          = consumingService;
     _rabbitMqConnectionFactory = rabbitMqConnectionFactory;
     _connectionOptions         = connectionOptions.Value;
     _exchanges      = exchanges;
     _loggingService = loggingService;
 }
コード例 #5
0
 public HomeController(IProducingService producingService)
 {
     _producingService = producingService;
 }
コード例 #6
0
 public HomeController(IProducingService producingService,
                       ILogger <HomeController> logger)
 {
     _producingService = producingService;
     _logger           = logger;
 }