コード例 #1
0
 protected void Return(int value)
 {
     context.Return(value);
 }
コード例 #2
0
 private void ValidateTheCommand(ICommandHandlingContext <TCommand> handlingContext, TCommand command, TAggregateRoot aggregateRoot)
 {
     ValidationResult = ValidateCommand(command, aggregateRoot);
     handlingContext.Return(ValidationResult);
 }
コード例 #3
0
 public void Handle(ICommandHandlingContext <MyTest2Command> handlingContext)
 {
     handlingContext.Return(handlingContext.Command.ReturnValue);
 }
コード例 #4
0
 private void ValidateTheCommand(ICommandHandlingContext <TCommand> handlingContext, TCommand command)
 {
     ValidationResult = ValidateCommand(command);
     handlingContext.Return(ValidationResult);
 }