示例#1
0
 protected TransferProcessor(
     BaseOperationProcessorDependencies baseDependencies,
     IRepository <Transfer> transferRepository) : base(baseDependencies)
 {
     Argument.NotNull(transferRepository, "transferRepository");
     TransferRepository = transferRepository;
 }
 public CardPaymentProcessor(BaseOperationProcessorDependencies baseDependencies,
                             IRepository <Transfer> transferRepository,
                             IRepository <PaymentTransactionLink> paymentTransactionLinkRepository)
     : base(baseDependencies, transferRepository)
 {
     Argument.NotNull(paymentTransactionLinkRepository, "paymentTransactionLinkRepository");
     _paymentTransactionLinkRepository = paymentTransactionLinkRepository;
 }
示例#3
0
 protected TransferProcessor(
     BaseOperationProcessorDependencies baseDependencies, 
     IRepository<Transfer> transferRepository)
     : base(baseDependencies)
 {
     Argument.NotNull(transferRepository, "transferRepository");
     TransferRepository = transferRepository;
 }
示例#4
0
 public CardPaymentProcessor(BaseOperationProcessorDependencies baseDependencies, 
     IRepository<Transfer> transferRepository,
     IRepository<PaymentTransactionLink> paymentTransactionLinkRepository)
     : base(baseDependencies, transferRepository)
 {
     Argument.NotNull(paymentTransactionLinkRepository, "paymentTransactionLinkRepository");
     _paymentTransactionLinkRepository = paymentTransactionLinkRepository;
 }
        internal BaseOperationProcessor(BaseOperationProcessorDependencies baseDependencies)
        {
            Argument.NotNull(baseDependencies, "baseDependencies");
            baseDependencies.EnsureIsResolved();
            Logger = LogManager.GetLogger(GetType().FullName);

            MoneyConverter           = baseDependencies.MoneyConverter;
            TransactionRepository    = baseDependencies.TransactionRepository;
            TransactionReferenceBook = baseDependencies.TransactionReferenceBook;
            Settings = new BankSettings();
        }
示例#6
0
        internal BaseOperationProcessor(BaseOperationProcessorDependencies baseDependencies)
        {
            Argument.NotNull(baseDependencies, "baseDependencies");
            baseDependencies.EnsureIsResolved();
            Logger = LogManager.GetLogger(GetType().FullName);

            MoneyConverter = baseDependencies.MoneyConverter;
            TransactionRepository = baseDependencies.TransactionRepository;
            TransactionReferenceBook = baseDependencies.TransactionReferenceBook;
            Settings = new BankSettings();
        }
示例#7
0
 public CardTransferProcessor(BaseOperationProcessorDependencies baseDependencies, IRepository<Transfer> transferRepository)
     : base(baseDependencies, transferRepository)
 {
 }
示例#8
0
 public CardTransferProcessor(BaseOperationProcessorDependencies baseDependencies, IRepository <Transfer> transferRepository)
     : base(baseDependencies, transferRepository)
 {
 }