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