public async Task <DatasetListResponse> ListNextAsync(string nextLink, CancellationToken cancellationToken) { // Validate Ensure.IsNotNull(nextLink, "nextLink"); Core.Models.DatasetListResponse response = await this.Client.InternalClient.Datasets.ListNextAsync(nextLink, cancellationToken); return(new DatasetListResponse(response, this.Client)); }
public async Task <DatasetListResponse> ListAsync( string resourceGroupName, string dataFactoryName, CancellationToken cancellationToken) { Core.Models.DatasetListResponse response = await this.Client.InternalClient.Datasets.ListAsync( resourceGroupName, dataFactoryName, cancellationToken); return(new DatasetListResponse(response, this.Client)); }