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