コード例 #1
0
 private void Handle(AccountCreatedEvent evnt)
 {
     _owner = evnt.Owner;
 }
コード例 #2
0
ファイル: BankAccount.cs プロジェクト: kuaigoumanzhu/enode
 private void Handle(AccountCreatedEvent evnt)
 {
     _id    = evnt.AggregateRootId;
     _owner = evnt.Owner;
     _transactionPreparations = new Dictionary <string, TransactionPreparation>();
 }