Skip to main content Skip to complementary content

IteratePages Method

Overloads

IteratePages(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.

IteratePages(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<IEnumerable<NxDataPage>> IteratePages(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.Collections.Generic.IEnumerable<NxDataPage>>

The set of iteration results.

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!