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