Exemplo n.º 1
0
 public WeChatPayService(IWeChatUserService wxUserService,
                         IRandomGenerator generator,
                         IDatabaseFactory databaseFactory)
 {
     this.wxUserService   = wxUserService;
     this.generator       = generator;
     this.databaseFactory = databaseFactory;
 }
Exemplo 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;
 }
Exemplo n.º 3
0
 public HomeController(IWeChatUserService weChatUserService)
 {
     _weChatUserService = weChatUserService;
 }
Exemplo n.º 4
0
 public MyCardsController(IWeChatUserService weChatUserService)
 {
     _weChatUserService = weChatUserService;
 }
Exemplo n.º 5
0
 public HomeController(IWeChatUserService weChatUserService, IOfferService offerService, ICountryCodeService countryCodeService)
 {
     _weChatUserService = weChatUserService;
     _offerService = offerService;
     _countryCodeService = countryCodeService;
 }
Exemplo n.º 6
0
 public HomeController( IWeChatUserService weChatUserService)
 {
     _weChatUserService = weChatUserService;
 }
 public LoginConfirmationController(ILoginLogService loginLogService, IWeChatUserService weChatUserService)
 {
     _loginLogService   = loginLogService;
     _weChatUserService = weChatUserService;
 }
Exemplo n.º 8
0
 public WeChatMsgHandler(ISharingHostService service, IWeChatUserService wxUserService)
 {
     this.service       = service;
     this.wxUserService = wxUserService;
 }
Exemplo n.º 9
0
 public MyCardsController(IWeChatUserService weChatUserService)
 {
     _weChatUserService = weChatUserService;
 }
 public LoginConfirmationController(ILoginLogService loginLogService, IWeChatUserService weChatUserService)
 {
     _loginLogService = loginLogService;
     _weChatUserService = weChatUserService;
 }