Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WxAccountService" /> class.
 /// </summary>
 /// <param name="cachMgr">The cach MGR.</param>
 /// <param name="accountSvc">The account SVC.</param>
 /// <param name="accessTokenSvc">The access token SVC.</param>
 public WxAccountService(
     ICacheManager cachMgr,
     WxAccessTokenService accessTokenSvc)
 {
     this.cachMgr        = cachMgr;
     this.accessTokenSvc = accessTokenSvc;
 }
Пример #2
0
 public WxJsSdkService(
     WxAccessTokenService accessTokenSvc,
     ICacheManager cacheMgr)
 {
     this.accessTokenSvc = accessTokenSvc;
     this.cacheMgr       = cacheMgr;
 }
Пример #3
0
 public CustomerService(
     WxAccessTokenService accessTokenSvc)
 {
     this.accessTokenSvc = accessTokenSvc;
 }
Пример #4
0
 public WxMessageService(
     WxAccessTokenService accessTokenSvc)
 {
     this.accessTokenSvc = accessTokenSvc;
 }