11 references to Items
Microsoft.AspNetCore.Components.QuickGrid (11)
QuickGrid.razor.cs (11)
30/// You should supply either <see cref="Items"/> or <see cref="ItemsProvider"/>, but not both. 37/// You should supply either <see cref="Items"/> or <see cref="ItemsProvider"/>, but not both. 277if (Items is not null && ItemsProvider is not null) 279throw new InvalidOperationException($"{nameof(QuickGrid)} requires one of {nameof(Items)} or {nameof(ItemsProvider)}, but both were specified."); 283var _newItemsOrItemsProvider = Items ?? (object?)ItemsProvider; 288_asyncQueryExecutor = AsyncQueryExecutorSupplier.GetAsyncQueryExecutor(Services, Items); 482/// (either <see cref="Items"/> or <see cref="ItemsProvider"/>). 611else if (Items is not null) 613var totalItemCount = _asyncQueryExecutor is null ? Items.Count() : await _asyncQueryExecutor.CountAsync(Items); 614var result = request.ApplySorting(Items).Skip(request.StartIndex);