Exemplo n.º 1
0
 public EventoCommandHandler(IAggregateRespository <Evento> aggregateRespository) : base(aggregateRespository)
 {
     Register <CreateEvento>(processCommand);
     Register <EndEvento>(processCommand);
     Register <LeaveEvento>(processCommand);
     Register <DeleteEvento>(processCommand);
     Register <ExtendEvento>(processCommand);
     Register <UpdateParticipantList>(processCommand);
     Register <UpdateParticipantState>(processCommand);
 }
Exemplo n.º 2
0
 public CommandHandler(IAggregateRespository <TDomain> aggregateRespository)
 {
     this.repository = aggregateRespository;
 }
Exemplo n.º 3
0
 public CommandHandler(IAggregateRespository <IAggregateRoot> aggregateRespository)
 {
     this.repository = aggregateRespository;
 }