public async void init() { TotalMarketCap totalMarketCap = await OpenCoinMarketCapProxy.GetTotalMarketCap(); cryptocurrencyList = await OpenCoinMarketCapProxy.GetCryptocurrencyList(); totalMarketCapValue = totalMarketCap.total_market_cap_usd; calculateMarketCapRestValue(); }
private async void setTotalMarketCap() { TotalMarketCap totalMarketCap = await OpenCoinMarketCapProxy.GetTotalMarketCap(); ResultTextBlock.Text = "Total Market Cap: " + totalMarketCap.total_market_cap_usd.ToString() + "$"; }