/// <param name='operations'> /// The operations group for this extension method. /// </param> public static IList <WeatherForecast> GetWeatherForecast(this IMyAPI operations) { return(operations.GetWeatherForecastAsync().GetAwaiter().GetResult()); }