示例#1
0
 public MessageRepository(RabbitMQClientUnit rabbitMQClientIUnit, IConfiguration configuration)
 {
     _rabbitMQClientIUnit = rabbitMQClientIUnit;
     _configuration       = configuration;
 }
示例#2
0
 public RabbitListener(RabbitMQClientUnit RabbitMQClientIUnit, MessageRepository messageRepository, IConfiguration configuration)
 {
     _rabbitMQClientIUnit = RabbitMQClientIUnit;
     _messageRepository   = messageRepository;
     _configuration       = configuration;
 }