public SwiftpassPayForWechatAPIController(IOptions <SwiftpassPayOptions> options , IOptions <MemberAPIOptions> memberOptions , SwiftpassPayProxy payProxy , FinanceDbContext db , WechatCoreDbContext wechatCoreDb , MemberDbContext memberDb , ILoggerFactory loggerFactory , ShopDbContext shopdb , IHostingEnvironment hostingEnvironment) : base(memberOptions, memberDb, wechatCoreDb) { this.hostingEnvironment = hostingEnvironment; this.options = options.Value; this.db = db; this.wechatCoreDb = wechatCoreDb; this.memberDb = memberDb; this.payProxy = payProxy; this._shopdb = shopdb; _logger = loggerFactory.CreateLogger <SwiftpassPayForWechatAPIController>(); }
public PayProxyFactory(WechatPayOptions wechatPayOptions, SwiftpassPayOptions swiftpassPayOptions, ILoggerFactory loggerFactory) { this.wechatPayOptions = wechatPayOptions; this.swiftpassPayOptions = swiftpassPayOptions; this.loggerFactory = loggerFactory; }
public PayProxyFactory(IOptions <WechatPayOptions> wechatPayOptions, IOptions <SwiftpassPayOptions> swiftpassPayOptions, ILoggerFactory loggerFactory) { this.wechatPayOptions = wechatPayOptions.Value; this.swiftpassPayOptions = swiftpassPayOptions.Value; this.loggerFactory = loggerFactory; }