コード例 #1
0
 public WeChatPaymentUnifyOrderInputFactory(
     IOptionsMonitor <WeChatPaymentOptions> paymentOptions,
     IOptionsMonitor <MiniProgramAuthenticationOptions> authOptions,
     WeChatPaymentSecuret securet)
 {
     this.paymentOptions = paymentOptions.CurrentValue;
     this.authOptions    = authOptions.CurrentValue;
     this.securet        = securet;
 }
コード例 #2
0
 public WeChatPaymentService(
     IOptionsMonitor <WeChatPaymentOptions> paymentOptions,
     IOptionsMonitor <MiniProgramAuthenticationOptions> authOptions,
     WeChatPaymentUnifyOrderResultFactory weChatPaymentUnifyOrderResultFactory,
     IHttpClientFactory clientFactory,
     WeChatPaymentSecuret securet)
 {
     this.paymentOptions = paymentOptions.CurrentValue;
     this.authOptions    = authOptions.CurrentValue;
     this.weChatPaymentUnifyOrderResultFactory = weChatPaymentUnifyOrderResultFactory;
     this.clientFactory = clientFactory;
     this.securet       = securet;
 }