21 references to CreateRoute
Microsoft.AspNetCore.Routing.Tests (21)
RouteTest.cs (21)
383var route = CreateRoute("{controller}/{action}"); 400var route = CreateRoute(""); 455var route = CreateRoute("{controller}/{action}"); 469var route = CreateRoute("{controller}", handleRequest: false); 504var route = CreateRoute("{controller}/{action}"); 603var route = CreateRoute("{controller}"); 619var route = CreateRoute("{controller}/{action}"); 633var route = CreateRoute("{controller}/{action}"); 669var route = CreateRoute("{controller}/{action}"); 684var route = CreateRoute("{controller}/{action}"); 702var route = CreateRoute("{controller}/{action}"); 720var route = CreateRoute("{controller}/{action}"); 738var route = CreateRoute("{controller}/{action}"); 839var route = CreateRoute("{controller}", handleRequest: false); 855var route = CreateRoute("{controller}/{action}"); 1112var route = CreateRoute("{controller}/{action}/{id:int}"); 1129var route = CreateRoute("{controller}/{action}/{id:int}"); 1144var route = CreateRoute("{controller}/{action}/{id:int?}"); 1161var route = CreateRoute("{controller}/{action}/{id:int?}"); 1178var route = CreateRoute("{controller}/{action}/{id:int?}"); 1193var route = CreateRoute("{controller}/{action}/{id:int:range(1,20)}");