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