15 references to PageRouteModel
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
src\Mvc\Mvc.RazorPages\src\ApplicationModels\PageRouteModelFactory.cs (1)
33
var routeModel = new
PageRouteModel
(relativePath, viewEnginePath);
Microsoft.AspNetCore.Mvc.RazorPages (1)
ApplicationModels\PageRouteModelFactory.cs (1)
33
var routeModel = new
PageRouteModel
(relativePath, viewEnginePath);
Microsoft.AspNetCore.Mvc.RazorPages.Test (13)
ApplicationModels\PageRouteTransformerConventionTest.cs (2)
18
var model = new
PageRouteModel
(string.Empty, string.Empty);
34
var model = new
PageRouteModel
(string.Empty, string.Empty);
DependencyInjection\PageConventionCollectionExtensionsTest.cs (3)
865
new
PageRouteModel
("/Pages/Index.cshtml", "/Index")
873
new
PageRouteModel
("/Pages/About.cshtml", "/About")
927
new
PageRouteModel
("/Pages/Profile.cshtml", "/Profile")
Infrastructure\PageActionDescriptorProviderTest.cs (8)
36
var model = new
PageRouteModel
("/Test.cshtml", "/Test")
71
var model = new
PageRouteModel
("/Test.cshtml", "/Test")
240
new
PageRouteModel
("/base-path/Test.cshtml", "/base-path/Test")
247
new
PageRouteModel
("/base-path/Index.cshtml", "/base-path/Index")
255
new
PageRouteModel
("/base-path/Admin/Index.cshtml", "/base-path/Admin/Index")
263
new
PageRouteModel
("/base-path/Admin/User.cshtml", "/base-path/Admin/User")
308
new
PageRouteModel
("/Catalog/Details/Index.cshtml", "/Catalog/Details/Index")
346
return new
PageRouteModel
("/Home.cshtml", "/Home")