22 references to State
Microsoft.AspNetCore.Components.QuickGrid (22)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Paginator_razor.g.cs (10)
47
if (
State
.TotalItemCount.HasValue)
99
__builder.AddContent(9,
State
.TotalItemCount
188
GetPageUrl(Math.Max(0,
State
.CurrentPageIndex - 1))
228
__builder.AddContent(45,
State
.CurrentPageIndex + 1
240
__builder.AddContent(49,
State
.LastPageIndex + 1
254
GetPageUrl(Math.Min(
State
.LastPageIndex ?? 0,
State
.CurrentPageIndex + 1))
289
GetPageUrl(
State
.LastPageIndex ?? 0)
390
__builder.AddContent(96,
State
.CurrentPageIndex + 1
402
__builder.AddContent(100,
State
.LastPageIndex + 1
Pagination\Paginator.razor.cs (12)
18
private string QueryName =>
State
.QueryName;
54
private Task GoPreviousAsync() => GoToPageAsync(
State
.CurrentPageIndex - 1);
55
private Task GoNextAsync() => GoToPageAsync(
State
.CurrentPageIndex + 1);
56
private Task GoLastAsync() => GoToPageAsync(
State
.LastPageIndex.GetValueOrDefault(0));
58
private bool CanGoBack =>
State
.CurrentPageIndex > 0;
59
private bool CanGoForwards =>
State
.CurrentPageIndex <
State
.LastPageIndex;
75
_totalItemCountChanged.SubscribeOrMove(
State
.TotalItemCountChangedSubscribable);
79
if (pageFromQuery !=
State
.CurrentPageIndex)
81
return
State
.SetCurrentPageIndexAsync(pageFromQuery);
93
if (pageFromQuery !=
State
.CurrentPageIndex)
95
await
State
.SetCurrentPageIndexAsync(pageFromQuery);