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