Partager via


IResourceCollectionEnumerator<T> Interface

Definition

Provides resource collection enumeration capabilities. This interface can page through results and determines whether the current page is the first or last page or not.

public interface IResourceCollectionEnumerator<T> where T : ResourceBaseWithLinks<StandardResourceCollectionLinks>
type IResourceCollectionEnumerator<'T (requires 'T :> ResourceBaseWithLinks<StandardResourceCollectionLinks>)> = interface
Public Interface IResourceCollectionEnumerator(Of T)

Type Parameters

T

The enumeration result type.

Properties

Current

Gets the current resource collection.

HasValue

Gets whether the current result collection has a value or not. This indicates if the collection has been fully enumerated or not.

IsFirstPage

Gets whether the current result collection is the first page of results or not.

IsLastPage

Gets whether the current result collection is the last page of results or not.

Methods

Next(IRequestContext)

Retrieves the next result set.

NextAsync(IRequestContext)

Asynchronously retrieves the next result set.

Previous(IRequestContext)

Retrieves the previous result set.

PreviousAsync(IRequestContext)

Asynchronously retrieves the previous result set.

Applies to