Ejemplo n.º 1
0
 /// <summary>
 /// Retrieves the an instance of the CoinMarketCapClient.
 /// </summary>
 /// <param name="httpClientHandler">Custom HTTP client handler. Can be used to define proxy settigs</param>
 /// <returns>CoinMarketCapClient instance.</returns>
 public static CoinMarketCapClientV2 GetInstance(HttpClientHandler httpClientHandler) =>
 s_instance = s_instance ?? new CoinMarketCapClientV2(httpClientHandler);
Ejemplo n.º 2
0
 /// <summary>
 /// Retrieves the an instance of the CoinMarketCapClient.
 /// </summary>
 /// <returns>CoinMarketCapClient instance.</returns>
 public static CoinMarketCapClientV2 GetInstance() => s_instance = s_instance ?? new CoinMarketCapClientV2();