예제 #1
0
 public CreatePayments(IPaymentProcessorGateway gateway, IPaymentContext db, ILogger <CreatePayments> logger, IOptions <TestDataOption> options)
 {
     this.logger  = logger;
     this.gateway = gateway;
     this.db      = db;
     this.option  = options.Value;
 }
예제 #2
0
 public RecurringDonationBackgroundService(
     IPaymentRepoService repoService,
     IPaymentProcessorGateway paymentProcessorGateway,
     IHostApplicationLifetime hostLifetime, ILogger logger)
 {
     this.repoService             = repoService;
     this.paymentProcessorGateway = paymentProcessorGateway;
     this.hostLifetime            = hostLifetime;
     this.logger = logger;
 }