예제 #1
0
 public ApiQuerier(string apiKey)
 {
     _webClient = new ApiWebClient();
     _options = new ApiQuerierSettings()
     {
         ApiKey = apiKey
     };
 }
예제 #2
0
 public ApiQuerier(IApiWebClient webClient, IOptions<ApiQuerierSettings> options)
 {
     _webClient = webClient;
     _options = options.Value;
 }
예제 #3
0
 public ApiQuerier(IOptions<ApiQuerierSettings> options)
 {
     _webClient = new ApiWebClient();
     _options = options.Value;
 }