/// <summary> /// Gets those integers. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <Microsoft.Rest.Azure.IPage <int?> > ListAsync(this ISimpleAPIClient operations, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { using (var _result = await operations.ListWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Gets those integers. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='nextPageLink'> /// The NextLink from the previous successful call to List operation. /// </param> public static Microsoft.Rest.Azure.IPage <int?> ListMore(this ISimpleAPIClient operations, string nextPageLink) { return(((ISimpleAPIClient)operations).ListMoreAsync(nextPageLink).GetAwaiter().GetResult()); }
/// <summary> /// Gets those integers. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> public static Microsoft.Rest.Azure.IPage <int?> List(this ISimpleAPIClient operations) { return(((ISimpleAPIClient)operations).ListAsync().GetAwaiter().GetResult()); }
/// <summary> /// Gets those integers. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <System.Collections.Generic.IEnumerable <int?> > ListAsync(this ISimpleAPIClient operations, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { using (var _result = await operations.ListWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Gets those integers. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> public static System.Collections.Generic.IEnumerable <int?> List(this ISimpleAPIClient operations) { return(((ISimpleAPIClient)operations).ListAsync().GetAwaiter().GetResult()); }