/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='term'> /// </param> /// <param name='uscid'> /// </param> /// <param name='tab'> /// </param> /// <param name='color'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <object> GetAsync(this IFaoPWAidItems operations, string term, string uscid, string tab, string color, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetWithHttpMessagesAsync(term, uscid, tab, color, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='term'> /// </param> /// <param name='uscid'> /// </param> /// <param name='tab'> /// </param> /// <param name='color'> /// </param> public static object Get(this IFaoPWAidItems operations, string term, string uscid, string tab, string color) { return(operations.GetAsync(term, uscid, tab, color).GetAwaiter().GetResult()); }