10 references to ItemsProvider
Microsoft.AspNetCore.Components.QuickGrid (10)
GridItemsProviderRequest.cs (1)
9
/// Parameters for data to be supplied by a <see cref="QuickGrid{TGridItem}"/>'s <see cref="QuickGrid{TGridItem}.
ItemsProvider
"/>.
GridItemsProviderResult.cs (1)
7
/// Holds data being supplied to a <see cref="QuickGrid{TGridItem}"/>'s <see cref="QuickGrid{TGridItem}.
ItemsProvider
"/>.
QuickGrid.razor.cs (8)
26
/// You should supply either <see cref="Items"/> or <see cref="
ItemsProvider
"/>, but not both.
33
/// You should supply either <see cref="Items"/> or <see cref="
ItemsProvider
"/>, but not both.
175
if (Items is not null &&
ItemsProvider
is not null)
177
throw new InvalidOperationException($"{nameof(QuickGrid)} requires one of {nameof(Items)} or {nameof(
ItemsProvider
)}, but both were specified.");
181
var _newItemsOrItemsProvider = Items ?? (object?)
ItemsProvider
;
277
/// (either <see cref="Items"/> or <see cref="
ItemsProvider
"/>).
372
if (
ItemsProvider
is not null)
374
return await
ItemsProvider
(request);