Ejemplo n.º 1
0
        public async void init()
        {
            TotalMarketCap totalMarketCap = await OpenCoinMarketCapProxy.GetTotalMarketCap();

            cryptocurrencyList = await OpenCoinMarketCapProxy.GetCryptocurrencyList();

            totalMarketCapValue = totalMarketCap.total_market_cap_usd;
            calculateMarketCapRestValue();
        }
Ejemplo n.º 2
0
        private async void setTotalMarketCap()
        {
            TotalMarketCap totalMarketCap = await OpenCoinMarketCapProxy.GetTotalMarketCap();

            ResultTextBlock.Text = "Total Market Cap: " + totalMarketCap.total_market_cap_usd.ToString() + "$";
        }