Beispiel #1
0
        public UserCoin GetCoin(string coin, string exchange)
        {
            var userCoinKey = UserCoinKey.Get(coin, exchange);

            return(UserCoins.ContainsKey(userCoinKey) ? UserCoins[userCoinKey] : null);
        }
Beispiel #2
0
 public UserCoin(string coin, string exchange)
 {
     Coin       = coin;
     Exchange   = exchange;
     UniqueName = UserCoinKey.Get(Coin, Exchange);
 }