/// <summary>构造函数</summary>
 public PageDataServiceWrapper(IApiServiceConfig config) : base(config, "PageService")
 {
 }
Ejemplo n.º 2
0
 /// <summary>索引提交服务</summary>
 public IndexSubmissionService(IApiServiceConfig apiServiceConfig)
 {
     this.ApiServiceConfig = apiServiceConfig.As <ModuleApiServiceConfig>();
     this.UploadChunkSize  = ConfigurationManager.AppSettings[nameof(this.UploadChunkSize)].ToInt32();
 }
Ejemplo n.º 3
0
 /// <summary>构造函数</summary>
 protected ApiServiceWrapper(IApiServiceConfig config, string serviceName) : this(config.Url + serviceName)
 {
     this.ServiceConfig = config;
     this.ServiceName   = serviceName;
 }
Ejemplo n.º 4
0
 /// <summary>构造函数</summary>
 public BO2ServiceWrapper(IApiServiceConfig config) : base(config, nameof(IBO2Service).Substring(1))
 {
 }
 /// <summary>构造函数</summary>
 public UserBehaviorServiceWrapper(IApiServiceConfig config) : base(config, nameof(IUserBehaviorService).Substring(1))
 {
 }
Ejemplo n.º 6
0
 /// <summary>构造函数</summary>
 public SearchServiceWrapper(IApiServiceConfig config) : base(config, nameof(ISearchService).Substring(1))
 {
 }
Ejemplo n.º 7
0
 /// <summary>构造函数</summary>
 public IndexerServiceWrapper(IApiServiceConfig config) : base(config, nameof(IIndexerService).Substring(1))
 {
 }
Ejemplo n.º 8
0
 public TestService(IApiServiceConfig config)
 {
     //config.ApiUser
 }