IndexBasedCollectionEnumeratorFactory<T,TResourceCollection> Class
- java.
lang. Object - com.
microsoft. store. partnercenter. BasePartnerComponent<TContext> - com.
microsoft. store. partnercenter. BasePartnerComponentString - com.
microsoft. store. partnercenter. factory. IndexBasedCollectionEnumeratorFactory<T,TResourceCollection>
- com.
- com.
- com.
Type Parameters
- T
- TResourceCollection
Implements
public class IndexBasedCollectionEnumeratorFactory<T,TResourceCollection> extends BasePartnerComponentString implements IResourceCollectionEnumeratorFactory<TResourceCollection>
Factory method for creating a new instance of index based collection enumerator.
Constructor Summary
| Constructor | Description |
|---|---|
| IndexBasedCollectionEnumeratorFactory(IPartner rootPartnerOperations, TypeReference<TResourceCollection> responseType) |
Initializes a new instance of the Index |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
IResource |
create(TResourceCollection resourceCollection)
Creates a index based collection enumerator capable of traversing resources that uses offset and page size for pagination. |
Inherited Members
Constructor Details
IndexBasedCollectionEnumeratorFactory
public IndexBasedCollectionEnumeratorFactory(IPartner rootPartnerOperations, TypeReference
Initializes a new instance of the IndexBasedCollectionEnumeratorFactory class.
Parameters:
Method Details
create
public IResourceCollectionEnumerator
Creates a index based collection enumerator capable of traversing resources that uses offset and page size for pagination.
Parameters:
Returns: