/// <param name='operations'> /// Reference to the WeatherServiceClientHW04.ITemperatures. /// </param> /// <param name='cancellationToken'> /// Cancellation token. /// </param> public static async Task <IList <Temperature> > GetAllTemperaturesAsync(this ITemperatures operations, CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { Microsoft.Rest.HttpOperationResponse <System.Collections.Generic.IList <WeatherServiceClientHW04.Models.Temperature> > result = await operations.GetAllTemperaturesWithOperationResponseAsync(cancellationToken).ConfigureAwait(false); return(result.Body); }