Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update async pagable comments
  • Loading branch information
azabbasi committed Jun 10, 2020
commit 2108d2affdf2a05dba1b8b49ca888a99c64f0033
4 changes: 2 additions & 2 deletions sdk/iot/Azure.Iot.Hub.Service/src/DevicesClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ public virtual Response<BulkRegistryOperationResponse> DeleteIdentities(
/// </summary>
/// <param name="pageSize">The size of each page to be retrieved from the service. Service may override this size.</param>
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>A pageable set of device twins.</returns>
/// <returns>A pageable set of device twins <see cref="AsyncPageable{T}"/>.</returns>
public virtual AsyncPageable<TwinData> GetTwinsAsync(int? pageSize = null, CancellationToken cancellationToken = default)
{
async Task<Page<TwinData>> FirstPageFunc(int? pageSizeHint)
Expand Down Expand Up @@ -397,7 +397,7 @@ async Task<Page<TwinData>> NextPageFunc(string nextLink, int? pageSizeHint)
/// </summary>
/// <param name="pageSize">The size of each page to be retrieved from the service. Service may override this size.</param>
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>A pageable set of device twins.</returns>
/// <returns>A pageable set of device twins <see cref="Pageable{T}"/>.</returns>
public virtual Pageable<TwinData> GetTwins(int? pageSize = null, CancellationToken cancellationToken = default)
{
Page<TwinData> FirstPageFunc(int? pageSizeHint)
Expand Down
4 changes: 2 additions & 2 deletions sdk/iot/Azure.Iot.Hub.Service/src/ModulesClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public virtual Response DeleteIdentity(
/// </summary>
/// <param name="pageSize">The size of each page to be retrieved from the service. Service may override this size.</param>
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>A pageable set of module twins.</returns>
/// <returns>A pageable set of module twins <see cref="AsyncPageable{T}"/>.</returns>
public virtual AsyncPageable<TwinData> GetTwinsAsync(int? pageSize = null, CancellationToken cancellationToken = default)
{
async Task<Page<TwinData>> FirstPageFunc(int? pageSizeHint)
Expand Down Expand Up @@ -194,7 +194,7 @@ async Task<Page<TwinData>> NextPageFunc(string nextLink, int? pageSizeHint)
/// </summary>
/// <param name="pageSize">The size of each page to be retrieved from the service. Service may override this size.</param>
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>A pageable set of module twins.</returns>
/// <returns>A pageable set of module twins <see cref="Pageable{T}"/>.</returns>
public virtual Pageable<TwinData> GetTwins(int? pageSize = null, CancellationToken cancellationToken = default)
{
Page<TwinData> FirstPageFunc(int? pageSizeHint)
Expand Down