public PaymentController(IActorFactory actorFactory, IPaymentAdapter paymentAdapter) { if (actorFactory == null) { throw new ArgumentNullException(nameof(actorFactory)); } if (paymentAdapter == null) { throw new ArgumentNullException(nameof(paymentAdapter)); } this.actorFactory = actorFactory; this.paymentAdapter = paymentAdapter; }
public Program(IPaymentAdapter paymentAdapter) { PaymentAdapter = paymentAdapter; }
public PaymentAppService(IPaymentService service, IExpenseAppService expenseAppService, IPaymentAdapter adapter, IUnitOfWork unitOfWork) : base(service, adapter, unitOfWork) { _expenseAppService = expenseAppService; }
public PaymentClient() { _paymentAdapter = new PaymentAdapter(); }