Example #1
0
 public CheckingAccountTransactionDomain(ICurrencyRepository currencyRepository, ICheckingAccountTransactionRepository checkingAccountTransactionRepository, IConnectionMultiplexer connectionMultiplexer, IDistributedLockFactory distributedLockFactory)
 {
     this.currencyRepository = currencyRepository;
     this.checkingAccountTransactionRepository = checkingAccountTransactionRepository;
     this.connectionMultiplexer  = connectionMultiplexer;
     this.distributedLockFactory = distributedLockFactory;
 }
Example #2
0
 public CheckingAccountDomain(ICheckingAccountStatusRepository checkingAccountStatusRepository,
                              ICheckingAccountRepository checkingAccountRepository,
                              ICheckingAccountTransactionRepository checkingAccountTransactionRepository,
                              ICheckingAccountTransactionStatusRepository checkingAccountTransactionStatusRepository,
                              ICheckingAccountTransactionTypeRepository checkingAccountTransactionTypeRepository,
                              ICurrencyRepository currencyRepository)
 {
     this.checkingAccountStatusRepository            = checkingAccountStatusRepository;
     this.checkingAccountRepository                  = checkingAccountRepository;
     this.checkingAccountTransactionRepository       = checkingAccountTransactionRepository;
     this.checkingAccountTransactionStatusRepository = checkingAccountTransactionStatusRepository;
     this.checkingAccountTransactionTypeRepository   = checkingAccountTransactionTypeRepository;
     this.currencyRepository = currencyRepository;
 }