InfiniteScrollingItemsProviderRequest Class

Represents a request for loading items in an infinite scrolling component.

public sealed class InfiniteScrollingItemsProviderRequest

Constructors

NameDescription
InfiniteScrollingItemsProviderRequest(int, CancellationToken)Initializes a new instance of the InfiniteScrollingItemsProviderRequest class.

InfiniteScrollingItemsProviderRequest(int, CancellationToken)

InfiniteScrollingItemsProviderRequest.cs

Initializes a new instance of the InfiniteScrollingItemsProviderRequest class.

public InfiniteScrollingItemsProviderRequest(int startIndex, CancellationToken cancellationToken)

Parameters

startIndex int
The starting index for the items to load.
cancellationToken CancellationToken
A cancellation token that can be used to cancel the request.

Properties

NameDescription
CancellationTokenGets the cancellation token that can be used to cancel the request.
StartIndexGets the starting index for the items to load.

Gets the cancellation token that can be used to cancel the request.

public CancellationToken CancellationToken { get; }

Property value

CancellationToken

Gets the starting index for the items to load.

public int StartIndex { get; }

Property value

int