상속: IDomainEvent
예제 #1
0
 public void When(AccountBilled @event)
 {
     var account = FetchModel(@event.AccountNumber);
     account.Recency = @event.Recency.Value;
     Logger.Verbose(@event.ToString());
 }
예제 #2
0
 public void When(AccountBilled @event)
 {
     var clientView = FetchClientView(@event.ClientId);
     clientView.AccountRecency = @event.Recency.Value;
 }
예제 #3
0
 void IHandleAccountStateTransitions.When(AccountBilled @event)
 {
     recency = @event.Recency;
 }