Example #1
0
 public IEventBusSubscriber SubscribeToCommandAsync <TCommand>(ICommandHandler <TCommand> handler) where TCommand : ICommand
 {
     _bus.SubscribeToCommandAsync <TCommand>(handler);
     return(this);
 }