/// <summary>
 /// Gets the first page of data slice instances with the link to the
 /// next page.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.DataFactories.Core.IDataSliceOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The resource group name of the data factory.
 /// </param>
 /// <param name='dataFactoryName'>
 /// Required. A unique data factory instance name.
 /// </param>
 /// <param name='tableName'>
 /// Required. A unique table instance name.
 /// </param>
 /// <param name='parameters'>
 /// Required. Parameters specifying how to list data slices of the
 /// table.
 /// </param>
 /// <returns>
 /// The List data slices operation response.
 /// </returns>
 public static DataSliceListResponse List(this IDataSliceOperations operations, string resourceGroupName, string dataFactoryName, string tableName, DataSliceListParameters parameters)
 {
     return Task.Factory.StartNew((object s) => 
     {
         return ((IDataSliceOperations)s).ListAsync(resourceGroupName, dataFactoryName, tableName, parameters);
     }
     , operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
 }
 /// <summary>
 /// Gets the first page of data slice instances with the link to the
 /// next page.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.DataFactories.Core.IDataSliceOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The resource group name of the data factory.
 /// </param>
 /// <param name='dataFactoryName'>
 /// Required. A unique data factory instance name.
 /// </param>
 /// <param name='tableName'>
 /// Required. A unique table instance name.
 /// </param>
 /// <param name='parameters'>
 /// Required. Parameters specifying how to list data slices of the
 /// table.
 /// </param>
 /// <returns>
 /// The List data slices operation response.
 /// </returns>
 public static Task<DataSliceListResponse> ListAsync(this IDataSliceOperations operations, string resourceGroupName, string dataFactoryName, string tableName, DataSliceListParameters parameters)
 {
     return operations.ListAsync(resourceGroupName, dataFactoryName, tableName, parameters, CancellationToken.None);
 }