public IInvokeActionsOnAggregates <TAggregate> With(IAmACommandMessage cmd)
 {
     return(_aggregateContext.Provide <TAggregate>().With(cmd));
 }
Ejemplo n.º 2
0
        public IInvokeActionsOnAggregates <TAggregate> With(IAmACommandMessage command)
        {
            var aggregateId = new AggregateId(command.Id);

            return(With(aggregateId));
        }