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