コード例 #1
0
 public MessageHandlingService(
     IMessageHandlerContainerBuilder messageHandlerContainerBuilder,
     ILoggingService loggingService)
 {
     _messageHandlerContainers = messageHandlerContainerBuilder.BuildCollection();
     _loggingService           = loggingService;
 }
コード例 #2
0
 public MessageHandlingService(
     IMessageHandlerContainerBuilder messageHandlerContainerBuilder,
     IEnumerable <RabbitMqExchange> exchanges,
     ILogger <MessageHandlingService> logger)
 {
     _exchanges = exchanges;
     _messageHandlerContainers = messageHandlerContainerBuilder.BuildCollection();
     _logger = logger;
 }