RegisteredAggregateCommandHandler<TCommand extends Object, TEvent extends Object, TValue extends Object, TId extends AggregateId, TState extends AggregateState<TValue> , TAggregate extends Aggregate<TEvent, TValue, TId, TState> > constructor
RegisteredAggregateCommandHandler<TCommand extends Object, TEvent extends Object, TValue extends Object, TId extends AggregateId, TState extends AggregateState<TValue> , TAggregate extends Aggregate<TEvent, TValue, TId, TState> > (
- ExpectedState expected,
- AggregateCommandHandler<
TCommand, TEvent, TValue, TId, TState, TAggregate> handler
Implementation
RegisteredAggregateCommandHandler(this.expected, this.handler);