17 implementations of GetVirtualPath
Microsoft.AspNetCore.Mvc.Core (5)
Routing\AttributeRoute.cs (2)
38public VirtualPathData GetVirtualPath(VirtualPathContext context) 292public VirtualPathData? GetVirtualPath(VirtualPathContext context)
Routing\MvcAttributeRouteHandler.cs (1)
34public VirtualPathData? GetVirtualPath(VirtualPathContext context)
Routing\MvcRouteHandler.cs (1)
31public VirtualPathData? GetVirtualPath(VirtualPathContext context)
Routing\NullRouter.cs (1)
16public VirtualPathData? GetVirtualPath(VirtualPathContext context)
Microsoft.AspNetCore.Mvc.Core.Test (1)
Routing\UrlHelperTest.cs (1)
140public VirtualPathData GetVirtualPath(VirtualPathContext context)
Microsoft.AspNetCore.Routing (5)
NullRouter.cs (1)
14public VirtualPathData? GetVirtualPath(VirtualPathContext context)
RouteBase.cs (1)
144public virtual VirtualPathData? GetVirtualPath(VirtualPathContext context)
RouteCollection.cs (1)
97public virtual VirtualPathData? GetVirtualPath(VirtualPathContext context)
RouteHandler.cs (1)
33public VirtualPathData? GetVirtualPath(VirtualPathContext context)
Tree\TreeRouter.cs (1)
138public VirtualPathData GetVirtualPath(VirtualPathContext context)
Microsoft.AspNetCore.Routing.Microbenchmarks (2)
src\Http\Routing\test\UnitTests\Matching\RouteMatcherBuilder.cs (1)
90public VirtualPathData GetVirtualPath(VirtualPathContext context)
src\Http\Routing\test\UnitTests\Matching\TreeRouterMatcherBuilder.cs (1)
92public VirtualPathData GetVirtualPath(VirtualPathContext context)
Microsoft.AspNetCore.Routing.Tests (4)
Matching\RouteMatcherBuilder.cs (1)
90public VirtualPathData GetVirtualPath(VirtualPathContext context)
Matching\TreeRouterMatcherBuilder.cs (1)
92public VirtualPathData GetVirtualPath(VirtualPathContext context)
RouterMiddlewareTest.cs (1)
135public VirtualPathData GetVirtualPath(VirtualPathContext context)
Tree\TreeRouterTest.cs (1)
2101public VirtualPathData GetVirtualPath(VirtualPathContext context)
20 references to GetVirtualPath
Microsoft.AspNetCore.Mvc.Core (1)
Routing\UrlHelper.cs (1)
87return Router.GetVirtualPath(context);
Microsoft.AspNetCore.Mvc.Core.Test (2)
Routing\UrlHelperTest.cs (2)
97.Setup(router => router.GetVirtualPath(It.IsAny<VirtualPathContext>())) 118.Setup(mock => mock.GetVirtualPath(It.Is<VirtualPathContext>(c => string.Equals(c.RouteName, mockRouteName))))
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
RemoteAttributeTest.cs (1)
457.Setup(router => router.GetVirtualPath(It.IsAny<VirtualPathContext>()))
Microsoft.AspNetCore.Routing (4)
Route.cs (1)
101return _target.GetVirtualPath(context);
RouteCollection.cs (2)
107namedRoutePathData = matchedNamedRoute.GetVirtualPath(context); 133var pathData = route.GetVirtualPath(context);
Tree\TreeRouter.cs (1)
333var pathData = entry.Handler.GetVirtualPath(context);
Microsoft.AspNetCore.Routing.Tests (12)
RouteCollectionTest.cs (9)
38.Setup(e => e.GetVirtualPath(It.IsAny<VirtualPathContext>())) 69.Setup(e => e.GetVirtualPath(It.IsAny<VirtualPathContext>())) 103.Setup(e => e.GetVirtualPath(It.IsAny<VirtualPathContext>())) 474route1.Verify(r => r.GetVirtualPath(It.IsAny<VirtualPathContext>()), Times.Once()); 475route2.Verify(r => r.GetVirtualPath(It.IsAny<VirtualPathContext>()), Times.Once()); 476route3.Verify(r => r.GetVirtualPath(It.IsAny<VirtualPathContext>()), Times.Once()); 544.Setup(e => e.GetVirtualPath(It.IsAny<VirtualPathContext>())) 570.Setup(e => e.GetVirtualPath(It.IsAny<VirtualPathContext>())) 679.Setup(e => e.GetVirtualPath(It.IsAny<VirtualPathContext>()))
RouteTest.cs (3)
762.Setup(r => r.GetVirtualPath(It.IsAny<VirtualPathContext>())) 806.Setup(r => r.GetVirtualPath(It.IsAny<VirtualPathContext>())) 1837.Setup(e => e.GetVirtualPath(It.IsAny<VirtualPathContext>()))