Inheritance: Domain.Core.Events.DomainEvent, IClientEvent
 public void When(ClientDateOfBirthCorrected @event)
 {
     var clientView = FetchClientView(@event.ClientId);
     clientView.DateOfBirth = @event.DateOfBirth;
 }
Esempio n. 2
0
 void IHandleClientStateTransitions.When(ClientDateOfBirthCorrected @event)
 {
     dateOfBirth = @event.DateOfBirth;
 }
Esempio n. 3
0
 public void When(ClientDateOfBirthCorrected @event)
 {
     var clientModel = FetchModel(@event.ClientId);
     clientModel.DateOfBirth = @event.DateOfBirth;
     Logger.Verbose(@event.ToString());
 }