public CommandResponse Handle(TestCommands.ChainedCaller command)
 {
     Interlocked.Increment(ref GotChainedCaller);
     Bus.Send(MessageBuilder
              .From(command)
              .Build(() => new TestCommands.Command1()));
     return(command.Succeed());
 }
Exemplo n.º 2
0
 public CommandResponse Handle(TestCommands.ChainedCaller command)
 {
     Interlocked.Increment(ref GotChainedCaller);
     Bus.Send(new TestCommands.Command1(command));
     return(command.Succeed());
 }