示例#1
0
 public BaseDocstoreClient(string token, int maxRetryAttempts, TimeSpan pauseBetweenFailures, string servicebaseUrl, ILoggerFactory LoggerFactory)
 {
     this.restClient = new RestClient(token, maxRetryAttempts, pauseBetweenFailures, LoggerFactory);
     this.logger     = this.restClient.logger;
     this.baseUrl    = servicebaseUrl;
 }
示例#2
0
 public BaseDocstoreClient(string token, string servicebaseUrl, ILoggerFactory LoggerFactory)
 {
     this.restClient = new RestClient(token, 0, TimeSpan.FromSeconds(1), LoggerFactory);
     this.logger     = LoggerFactory.CreateLogger("securityClient");
     this.baseUrl    = servicebaseUrl;
 }