Exemplo n.º 1
0
 private void Handle(CalendarDayAddedEvent t)
 {
     _appointmentBooks.Add(t.AggregateId, new AppointmentBook <string>(t.AggregateId, 24));
 }
Exemplo n.º 2
0
 private void Apply(CalendarDayAddedEvent @event)
 {
     Id     = @event.AggregateId;
     _slots = new bool[24];
 }