示例#1
0
 public async Task SendAsync(Message <ICommand> command) => await _messageBusClient.SendAsync(command);
示例#2
0
 public async Task DispatchAsync <TCommand>(TCommand command, ICorrelationContext context)
     where TCommand : ICommand
 {
     await messageBusClient.SendAsync(command, context);
 }