11 references to Items
Microsoft.AspNetCore.Components.QuickGrid (11)
QuickGrid.razor.cs (11)
27/// You should supply either <see cref="Items"/> or <see cref="ItemsProvider"/>, but not both. 34/// You should supply either <see cref="Items"/> or <see cref="ItemsProvider"/>, but not both. 220if (Items is not null && ItemsProvider is not null) 222throw new InvalidOperationException($"{nameof(QuickGrid)} requires one of {nameof(Items)} or {nameof(ItemsProvider)}, but both were specified."); 226var _newItemsOrItemsProvider = Items ?? (object?)ItemsProvider; 231_asyncQueryExecutor = AsyncQueryExecutorSupplier.GetAsyncQueryExecutor(Services, Items); 411/// (either <see cref="Items"/> or <see cref="ItemsProvider"/>). 517else if (Items is not null) 519var totalItemCount = _asyncQueryExecutor is null ? Items.Count() : await _asyncQueryExecutor.CountAsync(Items); 520var result = request.ApplySorting(Items).Skip(request.StartIndex);