コード例 #1
0
 public PaymentController(IPaymentClientService paymentService, IPaymentStatisticsService paymentStatisticsService)
 {
     Argument.NotNull(paymentService, "paymentService");
     Argument.NotNull(paymentStatisticsService, "paymentStatisticsService");
     _paymentService           = paymentService;
     _paymentStatisticsService = paymentStatisticsService;
 }
コード例 #2
0
ファイル: PaymentController.cs プロジェクト: al-main/vabank
 public PaymentController(IPaymentClientService paymentService, IPaymentStatisticsService paymentStatisticsService)
 {
     Argument.NotNull(paymentService, "paymentService");
     Argument.NotNull(paymentStatisticsService, "paymentStatisticsService");
     _paymentService = paymentService;
     _paymentStatisticsService = paymentStatisticsService;
 }
コード例 #3
0
 public CustomerCardController(ICardAccountService cardAccountService, IPaymentStatisticsService paymentStatisticsService)
 {
     Argument.NotNull(paymentStatisticsService, "paymentStatisticsService");
     if (cardAccountService == null)
     {
         throw new ArgumentNullException("cardAccountService");
     }
     _cardAccountService       = cardAccountService;
     _paymentStatisticsService = paymentStatisticsService;
 }
コード例 #4
0
 public CustomerCardController(ICardAccountService cardAccountService, IPaymentStatisticsService paymentStatisticsService)
 {
     Argument.NotNull(paymentStatisticsService, "paymentStatisticsService");
     if (cardAccountService == null)
     {
         throw new ArgumentNullException("cardAccountService");
     }
     _cardAccountService = cardAccountService;
     _paymentStatisticsService = paymentStatisticsService;
 }