コード例 #1
0
        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));
        }
コード例 #2
0
        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));
        }