예제 #1
0
 public async Task StartAsync(CancellationToken cancellationToken)
 {
     _messenger = _serviceProvider.GetRequiredService <IRabbitMQMessenger>();
     await Task.CompletedTask;
 }
 public void Start()
 => _messenger = _serviceProvider.GetRequiredService <IRabbitMQMessenger>();
 public RabbitMQController(IRabbitMQMessenger rabbitmqMessagener)
 {
     _rabbitmqMessagener = rabbitmqMessagener;
 }