13 references to CreateRoute
Microsoft.AspNetCore.Mvc.Core.Test (13)
Routing\ActionEndpointFactoryTest.cs (13)
42var route = CreateRoute(routeName: string.Empty, pattern: "{controller}/{action}"); 59var route = CreateRoute( 80var route = CreateRoute(routeName: "test", pattern: "{controller}/{action}"); 95var route = CreateRoute(routeName: "test", pattern: "{locale}/{controller}/{action}"); 110var route = CreateRoute(routeName: "test", pattern: "{controller}/{action}"); 125var route = CreateRoute(routeName: "test", pattern: "{area}/{controller}/{action}"); 140var route = CreateRoute( 162var route = CreateRoute( 196var route = CreateRoute(routeName: "test", pattern: "{controller}/{action}"); 296var route = CreateRoute( 314var route = CreateRoute( 334CreateRoute(routeName: "test1", pattern: "{controller}/{action}/{id?}", order: 1), 335CreateRoute(routeName: "test2", pattern: "named/{controller}/{action}/{id?}", order: 2),