60 references to IncomingRequest
Microsoft.AspNetCore.Mvc.Core.Test (20)
Routing\KnownRouteValueConstraintTests.cs (20)
51var match = knownRouteValueConstraint.Match(httpContext: null, route: null, "area", values, RouteDirection.IncomingRequest); 58[InlineData("area", RouteDirection.IncomingRequest)] 59[InlineData("controller", RouteDirection.IncomingRequest)] 60[InlineData("action", RouteDirection.IncomingRequest)] 61[InlineData("randomKey", RouteDirection.IncomingRequest)] 83[InlineData("area", RouteDirection.IncomingRequest)] 84[InlineData("controller", RouteDirection.IncomingRequest)] 85[InlineData("action", RouteDirection.IncomingRequest)] 86[InlineData("randomKey", RouteDirection.IncomingRequest)] 119[InlineData("area", RouteDirection.IncomingRequest)] 120[InlineData("controller", RouteDirection.IncomingRequest)] 121[InlineData("action", RouteDirection.IncomingRequest)] 122[InlineData("randomKey", RouteDirection.IncomingRequest)] 157[InlineData(RouteDirection.IncomingRequest)] 182[InlineData(RouteDirection.IncomingRequest)] 205[InlineData("area", RouteDirection.IncomingRequest)] 206[InlineData("controller", RouteDirection.IncomingRequest)] 207[InlineData("action", RouteDirection.IncomingRequest)] 208[InlineData("randomKey", RouteDirection.IncomingRequest)] 241[InlineData(RouteDirection.IncomingRequest)]
Microsoft.AspNetCore.Routing (7)
Constraints\HttpMethodRouteConstraint.cs (1)
45case RouteDirection.IncomingRequest:
DefaultLinkParser.cs (1)
135if (!constraint.Match(httpContext: null, NullRouter.Instance, kvp.Key, values, RouteDirection.IncomingRequest))
Matching\DfaMatcher.cs (1)
306if (!constraint.Value.Match(httpContext, NullRouter.Instance, constraint.Key, values, RouteDirection.IncomingRequest))
Patterns\DefaultRoutePatternTransformer.cs (1)
206if (!constraint.Match(httpContext: null, NullRouter.Instance, key, requiredValues, RouteDirection.IncomingRequest))
RouteBase.cs (1)
133RouteDirection.IncomingRequest,
RouteConstraintMatcher.cs (1)
71if (routeDirection.Equals(RouteDirection.IncomingRequest))
Tree\TreeRouter.cs (1)
205RouteDirection.IncomingRequest,
Microsoft.AspNetCore.Routing.Tests (33)
ConstraintMatcherTest.cs (7)
97routeDirection: RouteDirection.IncomingRequest, 117routeDirection: RouteDirection.IncomingRequest, 137routeDirection: RouteDirection.IncomingRequest, 157routeDirection: RouteDirection.IncomingRequest, 177routeDirection: RouteDirection.IncomingRequest, 189routeDirection: RouteDirection.IncomingRequest, 207routeDirection: RouteDirection.IncomingRequest,
Constraints\ConstraintsTestHelper.cs (1)
12var routeDirection = RouteDirection.IncomingRequest;
Constraints\FileNameRouteConstraintTest.cs (3)
38var result = constraint.Match(httpContext: null, route: null, "path", values, RouteDirection.IncomingRequest); 76var result = constraint.Match(httpContext: null, route: null, "path", values, RouteDirection.IncomingRequest); 91var result = constraint.Match(httpContext: null, route: null, "path", values, RouteDirection.IncomingRequest);
Constraints\HttpMethodRouteConstraintTests.cs (2)
26var result = constraint.Match(httpContext, route, "httpMethod", values, RouteDirection.IncomingRequest); 47var result = constraint.Match(httpContext, route, "httpMethod", values, RouteDirection.IncomingRequest);
Constraints\NonFIleNameRouteConstraintTest.cs (3)
19var result = constraint.Match(httpContext: null, route: null, "path", values, RouteDirection.IncomingRequest); 36var result = constraint.Match(httpContext: null, route: null, "path", values, RouteDirection.IncomingRequest); 51var result = constraint.Match(httpContext: null, route: null, "path", values, RouteDirection.IncomingRequest);
Constraints\RegexInlineRouteConstraintTests.cs (3)
35routeDirection: RouteDirection.IncomingRequest); 54routeDirection: RouteDirection.IncomingRequest); 84routeDirection: RouteDirection.IncomingRequest);
Constraints\RegexRouteConstraintTests.cs (5)
39routeDirection: RouteDirection.IncomingRequest); 58routeDirection: RouteDirection.IncomingRequest); 77routeDirection: RouteDirection.IncomingRequest); 96routeDirection: RouteDirection.IncomingRequest); 126routeDirection: RouteDirection.IncomingRequest);
Constraints\RequiredRouteConstraintTests.cs (4)
13[InlineData(RouteDirection.IncomingRequest)] 33[InlineData(RouteDirection.IncomingRequest)] 53[InlineData(RouteDirection.IncomingRequest)] 73[InlineData(RouteDirection.IncomingRequest)]
Constraints\StringRouteConstraintTest.cs (4)
25routeDirection: RouteDirection.IncomingRequest); 65routeDirection: RouteDirection.IncomingRequest); 105routeDirection: RouteDirection.IncomingRequest); 149routeDirection: RouteDirection.IncomingRequest);
RouteConstraintBuilderTest.cs (1)
174routeDirection: RouteDirection.IncomingRequest));