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