9 instantiations of RouteRequestBuilder
Microsoft.Maui.Controls (9)
Shell\Shell.cs (1)
849
var requestBuilder = new
RouteRequestBuilder
(new List<string>()
Shell\ShellUriHandler.cs (8)
320
var builder = new
RouteRequestBuilder
(routeKey, routeKey, null, new List<string>(1) { routeKey });
407
return new List<RouteRequestBuilder> { new
RouteRequestBuilder
(searchPath, searchPath, null, segments) };
416
builder = new
RouteRequestBuilder
(segment, segment, null, segments);
442
RouteRequestBuilder routeRequestBuilder = new
RouteRequestBuilder
(fullRouteWithNewSegments);
461
RouteRequestBuilder requestBuilderWithNewSegments = new
RouteRequestBuilder
(newSegments);
572
var leafSearch = new
RouteRequestBuilder
(possibleRoutePath);
903
builder = new
RouteRequestBuilder
(shellSegment, userSegment, node, segments);
906
builder = new
RouteRequestBuilder
(currentMatchedPath);
45 references to RouteRequestBuilder
Microsoft.Maui.Controls (45)
Shell\RequestDefinition.cs (1)
11
public RequestDefinition(
RouteRequestBuilder
theWinningRoute, Shell shell)
Shell\RouteRequestBuilder.cs (1)
40
public RouteRequestBuilder(
RouteRequestBuilder
builder) : this(builder._allSegments)
Shell\Shell.cs (1)
849
var
requestBuilder = new RouteRequestBuilder(new List<string>()
Shell\ShellUriHandler.cs (42)
198
foreach (
var
match in possibleRouteMatches)
212
var
theWinningRoute = possibleRouteMatches[0];
222
internal static List<
RouteRequestBuilder
> GenerateRoutePaths(Shell shell, Uri request)
228
internal static List<
RouteRequestBuilder
> GenerateRoutePaths(Shell shell, Uri request, Uri originalRequest, bool enableRelativeShellRoutes)
235
List<
RouteRequestBuilder
> possibleRoutePaths = new List<
RouteRequestBuilder
>();
277
foreach (
var
possibleRoutePath in possibleRoutePaths)
298
var
globalRouteMatch = globalRouteMatches[0];
320
var
builder = new RouteRequestBuilder(routeKey, routeKey, null, new List<string>(1) { routeKey });
321
return new List<
RouteRequestBuilder
> { builder };
345
static List<
RouteRequestBuilder
> ProcessRelativeRoute(
357
var pureRoutesMatch = new List<
RouteRequestBuilder
>();
358
var pureGlobalRoutesMatch = new List<
RouteRequestBuilder
>();
407
return new List<
RouteRequestBuilder
> { new RouteRequestBuilder(searchPath, searchPath, null, segments) };
410
RouteRequestBuilder
builder = null;
423
return new List<
RouteRequestBuilder
> { builder };
425
return new List<
RouteRequestBuilder
>();
428
static List<
RouteRequestBuilder
> SearchForGlobalRoutes(
434
List<
RouteRequestBuilder
> pureGlobalRoutesMatch = new List<
RouteRequestBuilder
>();
442
RouteRequestBuilder
routeRequestBuilder = new RouteRequestBuilder(fullRouteWithNewSegments);
458
ExpandOutGlobalRoutes(new List<
RouteRequestBuilder
> { routeRequestBuilder }, routeKeys);
461
RouteRequestBuilder
requestBuilderWithNewSegments = new RouteRequestBuilder(newSegments);
530
static bool FindAndAddSegmentMatch(
RouteRequestBuilder
possibleRoutePath, HashSet<string> routeKeys)
572
var
leafSearch = new RouteRequestBuilder(possibleRoutePath);
607
internal static void ExpandOutGlobalRoutes(List<
RouteRequestBuilder
> possibleRoutePaths, HashSet<string> routeKeys)
609
foreach (
var
possibleRoutePath in possibleRoutePaths)
618
List<
RouteRequestBuilder
> pureGlobalRoutesMatch = new List<
RouteRequestBuilder
>();
633
var
match = pureGlobalRoutesMatch[0];
640
internal static List<
RouteRequestBuilder
> GetBestMatches(List<
RouteRequestBuilder
> possibleRoutePaths)
642
List<
RouteRequestBuilder
> bestMatches = new List<
RouteRequestBuilder
>();
643
foreach (
var
match in possibleRoutePaths)
650
foreach (
var
bestMatch in bestMatches)
678
List<
RouteRequestBuilder
> betterMatches = new List<
RouteRequestBuilder
>();
683
RouteRequestBuilder
betterMatch = null;
855
RouteRequestBuilder
currentMatchedPath,
857
List<
RouteRequestBuilder
> possibleRoutePaths,
899
RouteRequestBuilder
builder = null;