예제 #1
0
 void IHandleClientStateTransitions.When(ClientDateOfBirthCorrected @event)
 {
     dateOfBirth = @event.DateOfBirth;
 }
예제 #2
0
 public void When(ClientDateOfBirthCorrected @event)
 {
     var clientModel = FetchModel(@event.ClientId);
     clientModel.DateOfBirth = @event.DateOfBirth;
 }
예제 #3
0
 void IClientState.When(ClientDateOfBirthCorrected @event)
 {
     dateOfBirth = @event.DateOfBirth;
 }