示例#1
0
        private static async Task Test()
        {
            ForeCast foreCast = await ForecastService.ForecastRunAsync();

            ShowProduct(foreCast);
            Console.ReadLine();
        }
示例#2
0
        private async Task GetForecast()
        {
            ForeCast foreCast = await ForecastService.ForecastRunAsync().ConfigureAwait(false);

            var WeatherText = new WeatherText(foreCast);

            ShowProduct(foreCast);
        }