17 references to MapRoute
Microsoft.AspNetCore.Routing (1)
MapRouteRouteBuilderExtensions.cs (1)
53return MapRoute(routeBuilder, name, template, defaults, constraints: null);
Microsoft.AspNetCore.Routing.Tests (11)
RouteTest.cs (6)
1613() => routeBuilder.MapRoute("mockName", 1634routeBuilder.MapRoute("mockName", 1654routeBuilder.MapRoute("mockName", 1675routeBuilder.MapRoute("mockName", 1707routeBuilder.MapRoute(name: "RouteName", 1731builder.MapRoute(name: null,
TemplateParserDefaultValuesTests.cs (5)
24routeBuilder.MapRoute("mockName", 43routeBuilder.MapRoute("mockName", 61() => routeBuilder.MapRoute("mockName", 86() => routeBuilder.MapRoute("mockName", 110routeBuilder.MapRoute(
Mvc.RoutingWebSite (3)
StartupWithoutEndpointRouting.cs (3)
16routes.MapRoute( 29routes.MapRoute( 35routes.MapRoute(
RoutingSandbox (1)
UseRouterStartup.cs (1)
30.MapRoute(
RoutingWebSite (1)
UseRouterStartup.cs (1)
30.MapRoute(