Skip to main content Skip to complementary content

GetDataAsync Method

Overloads

GetDataAsync(GenericObject, AsyncHandle, String, IEnumerable<NxPage>)

Returns data from the pageable structure.

GetDataAsync()

Returns data for CurrentPages.

GetDataAsync(AsyncHandle)

Returns data for CurrentPages.

GetDataAsync(IEnumerable<NxPage>)

Returns data for the argument pages, or from CurrentPages if page argument is null. Moves CurrentPages to the argument pages.

GetDataAsync(AsyncHandle, IEnumerable<NxPage>)

Returns data for the argument pages, or from CurrentPages if page argument is null. Moves CurrentPages to the argument pages.

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

Moves CurrentPages according to transform and returns data from the resulting pages.

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

Moves CurrentPages according to transform and returns data from the resulting pages.

GetDataAsync(GenericObject, AsyncHandle, String, IEnumerable<NxPage>)

Returns data from the pageable structure.

Declaration

      protected abstract Task<IEnumerable<NxDataPage>> GetDataAsync(GenericObject o, AsyncHandle asyncHandle, string path, IEnumerable<NxPage> pages)
    

Parameters

Type Name Description
GenericObject o
AsyncHandle asyncHandle
System.String path
System.Collections.Generic.IEnumerable<NxPage> pages

Returns

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

GetDataAsync()

Returns data for CurrentPages.

Declaration

      public Task<IEnumerable<NxDataPage>> GetDataAsync()
    

Returns

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

A task with the set of data for the CurrentPages.

GetDataAsync(AsyncHandle)

Returns data for CurrentPages.

Declaration

      public Task<IEnumerable<NxDataPage>> GetDataAsync(AsyncHandle asyncHandle)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

The async handle.

Returns

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

A task with the set of data for the CurrentPages.

GetDataAsync(IEnumerable<NxPage>)

Returns data for the argument pages, or from CurrentPages if page argument is null. Moves CurrentPages to the argument pages.

Declaration

      public Task<IEnumerable<NxDataPage>> GetDataAsync(IEnumerable<NxPage> pages)
    

Parameters

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

The set of pages from which to return data

Returns

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

A task with the set of data for the argument pages as result.

GetDataAsync(AsyncHandle, IEnumerable<NxPage>)

Returns data for the argument pages, or from CurrentPages if page argument is null. Moves CurrentPages to the argument pages.

Declaration

      public Task<IEnumerable<NxDataPage>> GetDataAsync(AsyncHandle asyncHandle, IEnumerable<NxPage> pages)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

The async handle.

System.Collections.Generic.IEnumerable<NxPage> pages

The set of pages from which to return data

Returns

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

A task with the set of data for the argument pages as result.

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

Moves CurrentPages according to transform and returns data from the resulting pages.

Declaration

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

Parameters

Type Name Description
System.Func<System.Collections.Generic.IEnumerable<NxPage>, System.Collections.Generic.IEnumerable<NxPage>> pageTransform

The transform to apply to CurrentPages.

Returns

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

A task with the the data as result.

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

Moves CurrentPages according to transform and returns data from the resulting pages.

Declaration

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

Parameters

Type Name Description
AsyncHandle asyncHandle

The async handle.

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

The transform to apply to CurrentPages.

Returns

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

A task with the data as result.

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!