Exemple #1
0
 /// <summary>
 /// A paging operation that doesn't return a full URL, just a fragment
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='nextLink'>
 /// Next link for list operation.
 /// </param>
 /// <param name='customParameterGroup'>
 /// Additional parameters for the operation
 /// </param>
 public static IPage <Product> NextFragmentWithGrouping(this IPagingOperations operations, string nextLink, CustomParameterGroupInner customParameterGroup)
 {
     return(operations.NextFragmentWithGroupingAsync(nextLink, customParameterGroup).GetAwaiter().GetResult());
 }
Exemple #2
0
 /// <summary>
 /// A paging operation that doesn't return a full URL, just a fragment
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='nextLink'>
 /// Next link for list operation.
 /// </param>
 /// <param name='customParameterGroup'>
 /// Additional parameters for the operation
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <Product> > NextFragmentWithGroupingAsync(this IPagingOperations operations, string nextLink, CustomParameterGroupInner customParameterGroup, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.NextFragmentWithGroupingWithHttpMessagesAsync(nextLink, customParameterGroup, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Exemple #3
0
 /// <summary>
 /// A paging operation that doesn't return a full URL, just a fragment with
 /// parameters grouped
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='customParameterGroup'>
 /// Additional parameters for the operation
 /// </param>
 public static IPage <Product> GetMultiplePagesFragmentWithGroupingNextLink(this IPagingOperations operations, CustomParameterGroupInner customParameterGroup)
 {
     return(operations.GetMultiplePagesFragmentWithGroupingNextLinkAsync(customParameterGroup).GetAwaiter().GetResult());
 }
 /// <summary>
 /// A paging operation that doesn't return a full URL, just a fragment
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='nextLink'>
 /// Next link for list operation.
 /// </param>
 /// <param name='customParameterGroup'>
 /// Additional parameters for the operation
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task<Microsoft.Rest.Azure.IPage<Product>> NextFragmentWithGroupingAsync(this IPagingOperations operations, string nextLink, CustomParameterGroupInner customParameterGroup, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.NextFragmentWithGroupingWithHttpMessagesAsync(nextLink, customParameterGroup, null, cancellationToken).ConfigureAwait(false))
     {
         return _result.Body;
     }
 }
 /// <summary>
 /// A paging operation that doesn't return a full URL, just a fragment
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='nextLink'>
 /// Next link for list operation.
 /// </param>
 /// <param name='customParameterGroup'>
 /// Additional parameters for the operation
 /// </param>
 public static Microsoft.Rest.Azure.IPage<Product> NextFragmentWithGrouping(this IPagingOperations operations, string nextLink, CustomParameterGroupInner customParameterGroup)
 {
     return System.Threading.Tasks.Task.Factory.StartNew(s => ((IPagingOperations)s).NextFragmentWithGroupingAsync(nextLink, customParameterGroup), operations, System.Threading.CancellationToken.None, System.Threading.Tasks.TaskCreationOptions.None, System.Threading.Tasks.TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
 }
 /// <summary>
 /// A paging operation that doesn't return a full URL, just a fragment
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='nextLink'>
 /// Next link for list operation.
 /// </param>
 /// <param name='customParameterGroup'>
 /// Additional parameters for the operation
 /// </param>
 public static Microsoft.Rest.Azure.IPage <Product> NextFragmentWithGrouping(this IPagingOperations operations, string nextLink, CustomParameterGroupInner customParameterGroup)
 {
     return(System.Threading.Tasks.Task.Factory.StartNew(s => ((IPagingOperations)s).NextFragmentWithGroupingAsync(nextLink, customParameterGroup), operations, System.Threading.CancellationToken.None, System.Threading.Tasks.TaskCreationOptions.None, System.Threading.Tasks.TaskScheduler.Default).Unwrap().GetAwaiter().GetResult());
 }
 /// <summary>
 /// A paging operation that doesn't return a full URL, just a fragment with
 /// parameters grouped
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='customParameterGroup'>
 /// Additional parameters for the operation
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <Microsoft.Rest.Azure.IPage <Product> > GetMultiplePagesFragmentWithGroupingNextLinkAsync(this IPagingOperations operations, CustomParameterGroupInner customParameterGroup, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.GetMultiplePagesFragmentWithGroupingNextLinkWithHttpMessagesAsync(customParameterGroup, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }