コード例 #1
0
 public CreateNewPaymentCommandHandler(IPaymentRepository paymentRepository, IMerchantQuery merchantQuery, ICardQuery cardQuery, IRiskAnalysisService riskAnalysisService)
 {
     _paymentRepository   = paymentRepository;
     _merchantQuery       = merchantQuery;
     _cardQuery           = cardQuery;
     _riskAnalysisService = riskAnalysisService;
 }
コード例 #2
0
 public CardController(IMediator mediator, IMerchantQuery merchantQuery, ICardQuery cardQuery)
 {
     _mediator = mediator;
     _merchantQuery = merchantQuery;
     _cardQuery = cardQuery;
 }
コード例 #3
0
 public PaymentController(IMediator mediator, IMerchantQuery merchantQuery, IPaymentQuery paymentQuery)
 {
     _mediator      = mediator;
     _merchantQuery = merchantQuery;
     _paymentQuery  = paymentQuery;
 }