示例#1
0
 public OdsRestClient(OdsApiConnectionInformation connectionInformation, IRestClient restClient, ITokenRetriever tokenRetriever)
 {
     _connectionInformation = connectionInformation;
     _tokenRetriever        = tokenRetriever;
     _restClient            = restClient;
     _logger = LogManager.GetLogger(typeof(OdsRestClient));
 }
示例#2
0
 /// <summary>
 /// </summary>
 /// <param name="connectionInformation"></param>
 public TokenRetriever(OdsApiConnectionInformation connectionInformation)
 {
     _connectionInformation = connectionInformation;
 }