Inheritance: Ncqrs.Eventing.Sourcing.SourcedEvent
Ejemplo n.º 1
0
 protected void OnPersonCreated(PersonCreatedEvent e)
 {
     forename = e.Forename;
     surname = e.Surname;
 }
Ejemplo n.º 2
0
 public Person(Guid id, string forename, string surname)
 {
     EventSourceId = id;
     var e = new PersonCreatedEvent(forename, surname);
     ApplyEvent(e);
 }