Пример #1
0
 internal void When(CustomerMaritalStatusChanged evnt)
 {
     _maritalStatus = MaritalStatus.Parse(evnt.MaritalStatus);
 }
Пример #2
0
 internal void When(CustomerRegistered customerRegisteredEvent)
 {
     _id            = customerRegisteredEvent.Id;
     _maritalStatus = MaritalStatus.Parse(customerRegisteredEvent.MaritalStatus);
 }