예제 #1
0
 private Uri getNetworkUri(CoinprismApiSettings settings)
 {
     if (settings.Network == Network.Test)
     {
         return(settings.UrlTest);
     }
     else
     {
         return(settings.UrlMain);
     }
 }
예제 #2
0
 public CoinprismClient(CoinprismApiSettings settings)
 {
     Url = getNetworkUri(settings);
 }