Пример #1
0
 public FDApiServices(IFDServiceHelper serviceHelper, IFPContext fdContext)
 {
     _ServiceHelper = serviceHelper;
 }
Пример #2
0
 /// <summary>
 /// WebApiClient(此处最好注入一个appsetting service)
 /// </summary>
 /// <param name="fPContext"></param>
 /// <param name="appSettingService"></param>
 public WebApiClient(IFPContext fPContext, IAppSettingService appSettingService)
 {
     _Context     = fPContext;
     _AppSettings = appSettingService;
 }
Пример #3
0
 public ServiceProxy(IFPContext fPContext, IAppSettingService appSettingService)
 {
     _Context     = fPContext;
     _AppSettings = appSettingService;
     _Token       = _Context.GetValue(FDConst.IS_AuthenticationToken);
 }