3 writes to Route
Microsoft.Maui.Controls (3)
Shell\ShellContent.cs (1)
288
shellContent.
Route
= Routing.GenerateImplicitRoute(pageRoute);
Shell\ShellItem.cs (1)
223
result.
Route
= Routing.GenerateImplicitRoute(shellSection.Route);
Shell\ShellSection.cs (1)
292
shellSection.
Route
= Routing.GenerateImplicitRoute(contentRoute);
37 references to Route
Microsoft.Maui.Controls (37)
Shell\RequestDefinition.cs (6)
19
if (Item?.
Route
!= null)
20
builder.Add(Item.
Route
);
22
if (Section?.
Route
!= null)
23
builder.Add(Section?.
Route
);
25
if (Content?.
Route
!= null)
26
builder.Add(Content?.
Route
);
Shell\RouteRequestBuilder.cs (7)
80
if (Routing.IsUserDefined(baseShellItem.
Route
) && baseShellItem.
Route
!= nextSegment)
85
AddMatch(baseShellItem.
Route
, GetUserSegment(baseShellItem), baseShellItem);
92
return baseShellItem.
Route
;
130
_fullSegments.Add(Item.
Route
);
142
_fullSegments.Add(Section.
Route
);
148
_fullSegments.Insert(0, Item.
Route
);
Shell\Shell.cs (3)
851
shellItem.
Route
,
852
shellSection.
Route
,
853
shellContent.
Route
Shell\ShellContent.cs (2)
96
throw new InvalidOperationException($"No Content found for {nameof(ShellContent)}, Title:{Title}, Route {
Route
}");
317
throw new InvalidOperationException($"{nameof(ShellContent)} {nameof(Content)} should be of type {nameof(Page)}. Title {shellContent?.Title}, Route {shellContent?.
Route
} ");
Shell\ShellExtensions.cs (2)
14
SearchForPart(shell, (p) => p.
Route
== route);
21
SearchForPart(shell, (p) => p.
Route
== route);
Shell\ShellItem.cs (1)
223
result.Route = Routing.GenerateImplicitRoute(shellSection.
Route
);
Shell\ShellNavigationManager.cs (3)
529
var shellItemRoute = shellItem.
Route
;
534
var shellSectionRoute = shellSection.
Route
;
539
var shellContentRoute = shellContent.
Route
;
Shell\ShellSection.cs (1)
290
var contentRoute = shellContent.
Route
;
Shell\ShellUriHandler.cs (12)
60
shell.CurrentItem.
Route
,
61
shell.CurrentItem.CurrentItem.
Route
,
62
shell.CurrentItem.CurrentItem.CurrentItem.
Route
,
66
restOfPath.Insert(0, shell.CurrentItem.CurrentItem.CurrentItem.
Route
);
67
restOfPath.Insert(0, shell.CurrentItem.CurrentItem.
Route
);
68
restOfPath.Insert(0, shell.CurrentItem.
Route
);
787
paths.Add(Item.
Route
);
789
paths.Add(Section.
Route
);
791
paths.Add(Content.
Route
);
931
return item.
Route
;
933
return section.
Route
;
935
return content.
Route
;