2 instantiations of ItemsProviderResult
Microsoft.AspNetCore.Components.Web (1)
Virtualization\Virtualize.cs (1)
452return ValueTask.FromResult(new ItemsProviderResult<TItem>(
Microsoft.AspNetCore.Components.Web.Tests (1)
Virtualization\VirtualizeTest.cs (1)
103=> ValueTask.FromResult(new ItemsProviderResult<TItem>(Enumerable.Empty<TItem>(), 0));
9 references to ItemsProviderResult
Microsoft.AspNetCore.Components.QuickGrid (1)
QuickGrid.razor.cs (1)
321private async ValueTask<ItemsProviderResult<(int, TGridItem)>> ProvideVirtualizedItems(ItemsProviderRequest request)
Microsoft.AspNetCore.Components.Web (6)
Virtualization\ItemsProviderDelegate.cs (2)
11/// <returns>A <see cref="ValueTask"/> whose result is a <see cref="ItemsProviderResult{TItem}"/> upon successful completion.</returns> 12public delegate ValueTask<ItemsProviderResult<TItem>> ItemsProviderDelegate<TItem>(ItemsProviderRequest request);
Virtualization\ItemsProviderResult.cs (1)
23/// Instantiates a new <see cref="ItemsProviderResult{TItem}"/> instance.
Virtualization\Virtualize.cs (3)
85/// or when the <see cref="ItemsProviderResult&lt;TItem&gt;.TotalItemCount"/> is zero. 417var result = await _itemsProvider(request); 450private ValueTask<ItemsProviderResult<TItem>> DefaultItemsProvider(ItemsProviderRequest request)
Microsoft.AspNetCore.Components.Web.Tests (2)
Virtualization\VirtualizeTest.cs (2)
102private ValueTask<ItemsProviderResult<TItem>> EmptyItemsProvider<TItem>(ItemsProviderRequest request) 105private ValueTask<ItemsProviderResult<TItem>> AlwaysThrowsItemsProvider<TItem>(ItemsProviderRequest request)