Esempio n. 1
0
 public WeChatPayService(IWeChatUserService wxUserService,
                         IRandomGenerator generator,
                         IDatabaseFactory databaseFactory)
 {
     this.wxUserService   = wxUserService;
     this.generator       = generator;
     this.databaseFactory = databaseFactory;
 }
Esempio n. 2
0
 public ModelClient(
     IWeChatApi api,
     IWeChatUserService wxUserService,
     IRandomGenerator generator,
     IWeChatPayService payService,
     IMCardService mCardService,
     ISharingHostService hostService,
     IWeChatMsgHandler weChatMsgHandler,
     TencentCMQClientFactory factory,
     IDatabaseFactory databaseFactory,
     IConfiguration configuration)
 {
     this.wxapi = api;
     this.sharingHostService = hostService;
     this.wxUserService      = wxUserService;
     this.generator          = generator;
     this.weChatPayService   = payService;
     this.mCardService       = mCardService;
     this.handler            = weChatMsgHandler;
     this.cmqclient          = factory.Create <OnlineOrder>("lemon");
     this.databaseFactory    = databaseFactory;
     this.configuration      = configuration;
 }
Esempio n. 3
0
 public HomeController(IWeChatUserService weChatUserService)
 {
     _weChatUserService = weChatUserService;
 }
Esempio n. 4
0
 public MyCardsController(IWeChatUserService weChatUserService)
 {
     _weChatUserService = weChatUserService;
 }
Esempio n. 5
0
 public HomeController(IWeChatUserService weChatUserService, IOfferService offerService, ICountryCodeService countryCodeService)
 {
     _weChatUserService = weChatUserService;
     _offerService = offerService;
     _countryCodeService = countryCodeService;
 }
Esempio n. 6
0
 public HomeController( IWeChatUserService weChatUserService)
 {
     _weChatUserService = weChatUserService;
 }
 public LoginConfirmationController(ILoginLogService loginLogService, IWeChatUserService weChatUserService)
 {
     _loginLogService   = loginLogService;
     _weChatUserService = weChatUserService;
 }
Esempio n. 8
0
 public WeChatMsgHandler(ISharingHostService service, IWeChatUserService wxUserService)
 {
     this.service       = service;
     this.wxUserService = wxUserService;
 }
Esempio n. 9
0
 public MyCardsController(IWeChatUserService weChatUserService)
 {
     _weChatUserService = weChatUserService;
 }
 public LoginConfirmationController(ILoginLogService loginLogService, IWeChatUserService weChatUserService)
 {
     _loginLogService = loginLogService;
     _weChatUserService = weChatUserService;
 }