60 references to IncomingRequest
Microsoft.AspNetCore.Mvc.Core.Test (20)
Routing\KnownRouteValueConstraintTests.cs (20)
51
var 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)
45
case RouteDirection.
IncomingRequest
:
DefaultLinkParser.cs (1)
135
if (!constraint.Match(httpContext: null, NullRouter.Instance, kvp.Key, values, RouteDirection.
IncomingRequest
))
Matching\DfaMatcher.cs (1)
306
if (!constraint.Value.Match(httpContext, NullRouter.Instance, constraint.Key, values, RouteDirection.
IncomingRequest
))
Patterns\DefaultRoutePatternTransformer.cs (1)
206
if (!constraint.Match(httpContext: null, NullRouter.Instance, key, requiredValues, RouteDirection.
IncomingRequest
))
RouteBase.cs (1)
133
RouteDirection.
IncomingRequest
,
RouteConstraintMatcher.cs (1)
71
if (routeDirection.Equals(RouteDirection.
IncomingRequest
))
Tree\TreeRouter.cs (1)
205
RouteDirection.
IncomingRequest
,
Microsoft.AspNetCore.Routing.Tests (33)
ConstraintMatcherTest.cs (7)
97
routeDirection: RouteDirection.
IncomingRequest
,
117
routeDirection: RouteDirection.
IncomingRequest
,
137
routeDirection: RouteDirection.
IncomingRequest
,
157
routeDirection: RouteDirection.
IncomingRequest
,
177
routeDirection: RouteDirection.
IncomingRequest
,
189
routeDirection: RouteDirection.
IncomingRequest
,
207
routeDirection: RouteDirection.
IncomingRequest
,
Constraints\ConstraintsTestHelper.cs (1)
12
var routeDirection = RouteDirection.
IncomingRequest
;
Constraints\FileNameRouteConstraintTest.cs (3)
38
var result = constraint.Match(httpContext: null, route: null, "path", values, RouteDirection.
IncomingRequest
);
76
var result = constraint.Match(httpContext: null, route: null, "path", values, RouteDirection.
IncomingRequest
);
91
var result = constraint.Match(httpContext: null, route: null, "path", values, RouteDirection.
IncomingRequest
);
Constraints\HttpMethodRouteConstraintTests.cs (2)
26
var result = constraint.Match(httpContext, route, "httpMethod", values, RouteDirection.
IncomingRequest
);
47
var result = constraint.Match(httpContext, route, "httpMethod", values, RouteDirection.
IncomingRequest
);
Constraints\NonFIleNameRouteConstraintTest.cs (3)
19
var result = constraint.Match(httpContext: null, route: null, "path", values, RouteDirection.
IncomingRequest
);
36
var result = constraint.Match(httpContext: null, route: null, "path", values, RouteDirection.
IncomingRequest
);
51
var result = constraint.Match(httpContext: null, route: null, "path", values, RouteDirection.
IncomingRequest
);
Constraints\RegexInlineRouteConstraintTests.cs (3)
35
routeDirection: RouteDirection.
IncomingRequest
);
54
routeDirection: RouteDirection.
IncomingRequest
);
84
routeDirection: RouteDirection.
IncomingRequest
);
Constraints\RegexRouteConstraintTests.cs (5)
39
routeDirection: RouteDirection.
IncomingRequest
);
58
routeDirection: RouteDirection.
IncomingRequest
);
77
routeDirection: RouteDirection.
IncomingRequest
);
96
routeDirection: RouteDirection.
IncomingRequest
);
126
routeDirection: 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)
25
routeDirection: RouteDirection.
IncomingRequest
);
65
routeDirection: RouteDirection.
IncomingRequest
);
105
routeDirection: RouteDirection.
IncomingRequest
);
149
routeDirection: RouteDirection.
IncomingRequest
);
RouteConstraintBuilderTest.cs (1)
174
routeDirection: RouteDirection.
IncomingRequest
));