Click or drag to resize
BasicReadOnlyCollectionPageT Constructor
This API is preliminary and subject to change.

Namespace: net.openstack.Core.Collections
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax
public BasicReadOnlyCollectionPage(
	IList<T> list,
	Func<CancellationToken, Task<ReadOnlyCollectionPage<T>>> getNextPageAsync
)

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
ExceptionCondition
ArgumentNullException If list is .
Version Information

.NET Framework

Supported in: 4.5

openstack.net

Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also