ReadOnlyCollectionPageT, TMarker Constructor |
This API is preliminary and subject to change.
Namespace: net.openstack.Providers.Rackspace.Objects.MonitoringAssembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax public ReadOnlyCollectionPage(
IList<T> list,
Func<TMarker, CancellationToken, Task<ReadOnlyCollectionPage<T, TMarker>>> getNextPageAsync,
IDictionary<string, Object> metadata
)
Public Sub New (
list As IList(Of T),
getNextPageAsync As Func(Of TMarker, CancellationToken, Task(Of ReadOnlyCollectionPage(Of T, TMarker))),
metadata As IDictionary(Of String, Object)
)
public:
ReadOnlyCollectionPage(
IList<T>^ list,
Func<TMarker, CancellationToken, Task<ReadOnlyCollectionPage<T, TMarker>^>^>^ getNextPageAsync,
IDictionary<String^, Object^>^ metadata
)
new :
list : IList<'T> *
getNextPageAsync : Func<'TMarker, CancellationToken, Task<ReadOnlyCollectionPage<'T, 'TMarker>>> *
metadata : IDictionary<string, Object> -> ReadOnlyCollectionPage
Parameters
- list
- Type: System.Collections.GenericIListT
The list to wrap. - getNextPageAsync
- Type: SystemFuncTMarker, CancellationToken, TaskReadOnlyCollectionPageT, TMarker
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 . - metadata
- Type: System.Collections.GenericIDictionaryString, Object
The metadata associated with the list.
Exceptions Version Information .NET Framework
Supported in: 4.5
openstack.net
Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also