17 implementations of RouteAsync
Microsoft.AspNetCore.Mvc.Core (5)
Routing\AttributeRoute.cs (2)
45public Task RouteAsync(RouteContext context) 297public Task RouteAsync(RouteContext context)
Routing\MvcAttributeRouteHandler.cs (1)
42public Task RouteAsync(RouteContext context)
Routing\MvcRouteHandler.cs (1)
39public Task RouteAsync(RouteContext context)
Routing\NullRouter.cs (1)
21public Task RouteAsync(RouteContext context)
Microsoft.AspNetCore.Mvc.Core.Test (1)
Routing\UrlHelperTest.cs (1)
145public Task RouteAsync(RouteContext context)
Microsoft.AspNetCore.Routing (5)
NullRouter.cs (1)
19public Task RouteAsync(RouteContext context)
RouteBase.cs (1)
106public virtual Task RouteAsync(RouteContext context)
RouteCollection.cs (1)
65public virtual async Task RouteAsync(RouteContext context)
RouteHandler.cs (1)
40public Task RouteAsync(RouteContext context)
Tree\TreeRouter.cs (1)
171public async Task RouteAsync(RouteContext context)
Microsoft.AspNetCore.Routing.Microbenchmarks (2)
src\Http\Routing\test\UnitTests\Matching\RouteMatcherBuilder.cs (1)
95public async Task RouteAsync(RouteContext routeContext)
src\Http\Routing\test\UnitTests\Matching\TreeRouterMatcherBuilder.cs (1)
97public async Task RouteAsync(RouteContext routeContext)
Microsoft.AspNetCore.Routing.Tests (4)
Matching\RouteMatcherBuilder.cs (1)
95public async Task RouteAsync(RouteContext routeContext)
Matching\TreeRouterMatcherBuilder.cs (1)
97public async Task RouteAsync(RouteContext routeContext)
RouterMiddlewareTest.cs (1)
140public Task RouteAsync(RouteContext context)
Tree\TreeRouterTest.cs (1)
2106public Task RouteAsync(RouteContext context)
36 references to RouteAsync
Microsoft.AspNetCore.Mvc.Core.Test (6)
Routing\AttributeRouteTest.cs (2)
52.Setup(r => r.RouteAsync(It.IsAny<RouteContext>())) 779.Setup(h => h.RouteAsync(It.IsAny<RouteContext>()))
Routing\AttributeRoutingTest.cs (4)
43var ex = await Assert.ThrowsAsync<RouteCreationException>(() => route.RouteAsync(routeContext)); 69await route.RouteAsync(new RouteContext(new DefaultHttpContext())); 103await route.RouteAsync(new RouteContext(new DefaultHttpContext())); 141await route.RouteAsync(new RouteContext(new DefaultHttpContext()));
Microsoft.AspNetCore.Routing (4)
Route.cs (1)
95return _target.RouteAsync(context);
RouteCollection.cs (1)
79await route.RouteAsync(context);
RouterMiddleware.cs (1)
46await _router.RouteAsync(context);
Tree\TreeRouter.cs (1)
213await entry.Handler.RouteAsync(context);
Microsoft.AspNetCore.Routing.Abstractions (1)
RouteContext.cs (1)
9/// A context object for <see cref="IRouter.RouteAsync(RouteContext)"/>.
Microsoft.AspNetCore.Routing.Tests (25)
Builder\RoutingBuilderExtensionsTest.cs (2)
79.Setup(r => r.RouteAsync(It.IsAny<RouteContext>())) 104.Setup(r => r.RouteAsync(It.IsAny<RouteContext>()))
RequestDelegateRouteBuilderExtensionsTest.cs (2)
59await route.RouteAsync(context); 117await route.RouteAsync(context);
RouteCollectionTest.cs (8)
178route1.Verify(e => e.RouteAsync(It.IsAny<RouteContext>()), Times.Exactly(1)); 179route2.Verify(e => e.RouteAsync(It.IsAny<RouteContext>()), Times.Exactly(0)); 204route1.Verify(e => e.RouteAsync(It.IsAny<RouteContext>()), Times.Exactly(1)); 205route2.Verify(e => e.RouteAsync(It.IsAny<RouteContext>()), Times.Exactly(1)); 229route1.Verify(e => e.RouteAsync(It.IsAny<RouteContext>()), Times.Exactly(1)); 230route2.Verify(e => e.RouteAsync(It.IsAny<RouteContext>()), Times.Exactly(1)); 554.Setup(e => e.RouteAsync(It.IsAny<RouteContext>())) 684.Setup(e => e.RouteAsync(It.IsAny<RouteContext>()))
RouteTest.cs (9)
68.Setup(s => s.RouteAsync(It.IsAny<RouteContext>())) 122.Setup(s => s.RouteAsync(It.IsAny<RouteContext>())) 176.Setup(s => s.RouteAsync(It.IsAny<RouteContext>())) 218.Setup(s => s.RouteAsync(It.IsAny<RouteContext>())) 260.Setup(s => s.RouteAsync(It.IsAny<RouteContext>())) 300.Setup(s => s.RouteAsync(It.IsAny<RouteContext>())) 352.Setup(s => s.RouteAsync(It.IsAny<RouteContext>())) 1741await route.RouteAsync(context); 1841.Setup(e => e.RouteAsync(It.IsAny<RouteContext>()))
Tree\TreeRouterTest.cs (4)
1743.Setup(r => r.RouteAsync(It.IsAny<RouteContext>())) 1780.Setup(r => r.RouteAsync(It.IsAny<RouteContext>())) 1824.Setup(r => r.RouteAsync(It.IsAny<RouteContext>())) 1870.Setup(r => r.RouteAsync(It.IsAny<RouteContext>()))