Beispiel #1
0
 public AccountingActor(ITranactionsStatsCacheRepository tranactionsStatsCache)
 {
     _tranactionsStatsCache = tranactionsStatsCache;
     Receive <DebitAccount>(x => DoDebitAccountEvent(x));
     Receive <CreditAccount>(x => DoCreditAccountEvent(x));
     Receive <PersistTransaction>(x => DoPersistTransaction(x));
 }
 public DebitRequestActor(ITranactionsStatsCacheRepository tranactionsStatsCache)
 {
     _tranactionsStatsCache = tranactionsStatsCache;
     Receive <RequestAccountDebit>(x => DoRequestAccountDebit(x));
 }