Skip to main content Skip to complementary content

IteratePagesAsync Method

Overloads

IteratePagesAsync(IEnumerable<NxPage>, Func<IEnumerable<NxPage>, IEnumerable<NxPage>>)

Iterates through pages by repeatedly applying the argument transform and returning the data. Application is performed until an iteration moves all pages outside the edge of the table.

IteratePagesAsync(AsyncHandle, IEnumerable<NxPage>, Func<IEnumerable<NxPage>, IEnumerable<NxPage>>)

Iterates through pages by repeatedly applying the argument transform and returning the data. Application is performed until an iteration moves all pages outside the edge of the table.

IteratePagesAsync(IEnumerable<NxPage>, Func<IEnumerable<NxPage>, IEnumerable<NxPage>>)

Iterates through pages by repeatedly applying the argument transform and returning the data. Application is performed until an iteration moves all pages outside the edge of the table.

Declaration

      public IEnumerable<Task<IEnumerable<NxDataPage>>> IteratePagesAsync(IEnumerable<NxPage> initialPages, Func<IEnumerable<NxPage>, IEnumerable<NxPage>> pageTransform)
    

Parameters

Type Name Description
System.Collections.Generic.IEnumerable<NxPage> initialPages

The initial set of pages.

System.Func<System.Collections.Generic.IEnumerable<NxPage>, System.Collections.Generic.IEnumerable<NxPage>> pageTransform

The transform to apply during iteration.

Returns

Type Description
System.Collections.Generic.IEnumerable<System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<NxDataPage>>>

The set of iteration result tasks.

IteratePagesAsync(AsyncHandle, IEnumerable<NxPage>, Func<IEnumerable<NxPage>, IEnumerable<NxPage>>)

Iterates through pages by repeatedly applying the argument transform and returning the data. Application is performed until an iteration moves all pages outside the edge of the table.

Declaration

      public IEnumerable<Task<IEnumerable<NxDataPage>>> IteratePagesAsync(AsyncHandle asyncHandle, IEnumerable<NxPage> initialPages, Func<IEnumerable<NxPage>, IEnumerable<NxPage>> pageTransform)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

The async handle.

System.Collections.Generic.IEnumerable<NxPage> initialPages

The initial set of pages.

System.Func<System.Collections.Generic.IEnumerable<NxPage>, System.Collections.Generic.IEnumerable<NxPage>> pageTransform

The transform to apply during iteration.

Returns

Type Description
System.Collections.Generic.IEnumerable<System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<NxDataPage>>>

The set of iteration result tasks.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!