26 references to RouteContext
Microsoft.AspNetCore.Mvc.Core (1)
Routing\ActionConstraintMatcherPolicy.cs (1)
231constraintContext.RouteContext = new RouteContext(httpContext)
Microsoft.AspNetCore.Mvc.Core.Test (15)
ActionConstraints\HttpMethodActionConstraintTest.cs (1)
80var routeContext = new RouteContext(httpContext);
ConsumesAttributeTests.cs (1)
407var routeContext = new RouteContext(httpContext);
Infrastructure\ActionSelectorTest.cs (6)
856var routeContext = new RouteContext(GetHttpContext(verb)); 877var routeContext = new RouteContext(GetHttpContext(verb)); 895var routeContext = new RouteContext(GetHttpContext(verb)); 932var routeContext = new RouteContext(GetHttpContext(verb)); 962var routeContext = new RouteContext(GetHttpContext(verb)); 1113return new RouteContext(httpContext.Object)
Routing\AttributeRouteTest.cs (2)
84var context = new RouteContext(httpContext); 101context = new RouteContext(httpContext);
Routing\AttributeRoutingTest.cs (4)
40var routeContext = new RouteContext(new DefaultHttpContext()); 69await route.RouteAsync(new RouteContext(new DefaultHttpContext())); 103await route.RouteAsync(new RouteContext(new DefaultHttpContext())); 141await route.RouteAsync(new RouteContext(new DefaultHttpContext()));
Routing\MvcRouteHandlerTests.cs (1)
115var routeContext = new RouteContext(httpContext.Object);
Microsoft.AspNetCore.Mvc.Cors.Test (1)
CorsHttpMethodActionConstraintTest.cs (1)
99var routeContext = new RouteContext(httpContext);
Microsoft.AspNetCore.Routing (1)
RouterMiddleware.cs (1)
43var context = new RouteContext(httpContext);
Microsoft.AspNetCore.Routing.Microbenchmarks (2)
src\Http\Routing\test\UnitTests\Matching\RouteMatcher.cs (1)
22var routeContext = new RouteContext(httpContext);
src\Http\Routing\test\UnitTests\Matching\TreeRouterMatcher.cs (1)
23var routeContext = new RouteContext(httpContext);
Microsoft.AspNetCore.Routing.Tests (6)
Matching\RouteMatcher.cs (1)
22var routeContext = new RouteContext(httpContext);
Matching\TreeRouterMatcher.cs (1)
23var routeContext = new RouteContext(httpContext);
RequestDelegateRouteBuilderExtensionsTest.cs (1)
136return new RouteContext(httpContext);
RouteCollectionTest.cs (1)
669return new RouteContext(context.Object);
RouteTest.cs (1)
596return new RouteContext(context.Object);
Tree\TreeRouterTest.cs (1)
1995return new RouteContext(context.Object);