/// <summary>
 /// Gets the next page of activity window instances with the link to
 /// the next page.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.DataFactories.Core.IActivityWindowOperations.
 /// </param>
 /// <param name='nextLink'>
 /// Required. The URL to the next page of activity windows.
 /// </param>
 /// <param name='parameters'>
 /// Required. Filter parameters for activity windows list.
 /// </param>
 /// <returns>
 /// The List activity windows operation response.
 /// </returns>
 public static ActivityWindowListResponse ListNext(this IActivityWindowOperations operations, string nextLink, ActivityWindowsByActivityListParameters parameters)
 {
     return Task.Factory.StartNew((object s) =>
     {
         return ((IActivityWindowOperations)s).ListNextAsync(nextLink, parameters);
     }
     , operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
 }
 /// <summary>
 /// Gets the next page of activity window instances with the link to
 /// the next page.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.DataFactories.Core.IActivityWindowOperations.
 /// </param>
 /// <param name='nextLink'>
 /// Required. The URL to the next page of activity windows.
 /// </param>
 /// <param name='parameters'>
 /// Required. Filter parameters for activity windows list.
 /// </param>
 /// <returns>
 /// The List activity windows operation response.
 /// </returns>
 public static Task<ActivityWindowListResponse> ListNextAsync(this IActivityWindowOperations operations, string nextLink, ActivityWindowsByActivityListParameters parameters)
 {
     return operations.ListNextAsync(nextLink, parameters, CancellationToken.None);
 }
 /// <summary>
 /// Gets the first page of activity window instances for a pipeline
 /// activity with the link to the next page.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.DataFactories.Core.IActivityWindowOperations.
 /// </param>
 /// <param name='parameters'>
 /// Required. Filter parameters for activity windows list.
 /// </param>
 /// <returns>
 /// The List activity windows operation response.
 /// </returns>
 public static Task<ActivityWindowListResponse> ListByPipelineActivityAsync(this IActivityWindowOperations operations, ActivityWindowsByActivityListParameters parameters)
 {
     return operations.ListByPipelineActivityAsync(parameters, CancellationToken.None);
 }