示例#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);
 }
示例#2
0
 public CommandHandler(IAggregateRespository <TDomain> aggregateRespository)
 {
     this.repository = aggregateRespository;
 }
示例#3
0
 public CommandHandler(IAggregateRespository <IAggregateRoot> aggregateRespository)
 {
     this.repository = aggregateRespository;
 }