Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }