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