Dela via


ItemsProviderDelegate<TItem> Delegate

Definition

A function that provides items to a virtualized source.

generic <typename TItem>
public delegate System::Threading::Tasks::ValueTask<Microsoft::AspNetCore::Components::Web::Virtualization::ItemsProviderResult<TItem>> ItemsProviderDelegate(ItemsProviderRequest request);
public delegate System.Threading.Tasks.ValueTask<Microsoft.AspNetCore.Components.Web.Virtualization.ItemsProviderResult<TItem>> ItemsProviderDelegate<TItem>(ItemsProviderRequest request);
type ItemsProviderDelegate<'Item> = delegate of ItemsProviderRequest -> ValueTask<ItemsProviderResult<'Item>>
Public Delegate Function ItemsProviderDelegate(Of TItem)(request As ItemsProviderRequest) As ValueTask(Of ItemsProviderResult(Of TItem)) 

Type Parameters

TItem

The type of the context for each item in the list.

Parameters

request
ItemsProviderRequest

The ItemsProviderRequest defining the request details.

Return Value

A ValueTask whose result is a ItemsProviderResult<TItem> upon successful completion.

Applies to