BasicReadOnlyCollectionPageT Constructor |
This API is preliminary and subject to change.
Namespace: net.openstack.Core.CollectionsAssembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax public BasicReadOnlyCollectionPage(
IList<T> list,
Func<CancellationToken, Task<ReadOnlyCollectionPage<T>>> getNextPageAsync
)
Public Sub New (
list As IList(Of T),
getNextPageAsync As Func(Of CancellationToken, Task(Of ReadOnlyCollectionPage(Of T)))
)
public:
BasicReadOnlyCollectionPage(
IList<T>^ list,
Func<CancellationToken, Task<ReadOnlyCollectionPage<T>^>^>^ getNextPageAsync
)
new :
list : IList<'T> *
getNextPageAsync : Func<CancellationToken, Task<ReadOnlyCollectionPage<'T>>> -> BasicReadOnlyCollectionPage
Parameters
- list
- Type: System.Collections.GenericIListT
The list to wrap. - getNextPageAsync
- Type: SystemFuncCancellationToken, TaskReadOnlyCollectionPageT
A function that returns a TaskTResult representing the asynchronous operation to get the next page of items in the collection. If specified, this function implements GetNextPageAsync(CancellationToken). If the value is , then CanHaveNextPage will return .
Exceptions Version Information .NET Framework
Supported in: 4.5
openstack.net
Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also