6 references to CreateTemplateRoute
Microsoft.AspNetCore.Routing.Tests (6)
RouteCollectionTest.cs (6)
137var route = CreateTemplateRoute("{controller}", routerName, dataTokens); 385var route = CreateTemplateRoute(template); 407CreateTemplateRoute("{area?}/{controller=Home}/{action=Index}/{id?}", "1"), 408CreateTemplateRoute("{controller=Home}/{action=Index}/{id?}", "2") 419CreateTemplateRoute("{a}/{b?}/{c}", "1"), 420CreateTemplateRoute("{a=Home}/{b=Index}", "2")