Exemple #1
0
 private void Handle(WalletCreatedEvent evnt)
 {
     _cash                  = 0;
     _lockedCash            = 0;
     _benevolence           = 0;
     _bankCards             = new List <BankCard>();
     _withdrawApplys        = new List <WithdrawApply>();
     _rechargeApplys        = new List <RechargeApply>();
     _cashTransfers         = new HashSet <Guid>();
     _benevolenceTransfers  = new HashSet <Guid>();
     _userId                = evnt.UserId;
     _walletStatisticInfo   = new WalletStatisticInfo(0, 0, 0, 0, 0, DateTime.Now);
     _withdrawStatisticInfo = new WithdrawStatisticInfo(0, 0, 0, DateTime.Now);
 }
Exemple #2
0
 private void Handle(WithdrawStatisticInfoChangedEvent evnt)
 {
     _withdrawStatisticInfo = evnt.Info;
 }