34 references to UrlGeneration
Microsoft.AspNetCore.Mvc.Core.Test (20)
Builder\MvcAreaRouteBuilderExtensionsTest.cs (1)
255routeDirection: RouteDirection.UrlGeneration);
Routing\KnownRouteValueConstraintTests.cs (19)
62[InlineData("area", RouteDirection.UrlGeneration)] 63[InlineData("controller", RouteDirection.UrlGeneration)] 64[InlineData("action", RouteDirection.UrlGeneration)] 65[InlineData("randomKey", RouteDirection.UrlGeneration)] 87[InlineData("area", RouteDirection.UrlGeneration)] 88[InlineData("controller", RouteDirection.UrlGeneration)] 89[InlineData("action", RouteDirection.UrlGeneration)] 90[InlineData("randomKey", RouteDirection.UrlGeneration)] 123[InlineData("area", RouteDirection.UrlGeneration)] 124[InlineData("controller", RouteDirection.UrlGeneration)] 125[InlineData("action", RouteDirection.UrlGeneration)] 126[InlineData("randomKey", RouteDirection.UrlGeneration)] 158[InlineData(RouteDirection.UrlGeneration)] 183[InlineData(RouteDirection.UrlGeneration)] 209[InlineData("area", RouteDirection.UrlGeneration)] 210[InlineData("controller", RouteDirection.UrlGeneration)] 211[InlineData("action", RouteDirection.UrlGeneration)] 212[InlineData("randomKey", RouteDirection.UrlGeneration)] 242[InlineData(RouteDirection.UrlGeneration)]
Microsoft.AspNetCore.Routing (4)
Constraints\HttpMethodRouteConstraint.cs (1)
51case RouteDirection.UrlGeneration:
RouteBase.cs (1)
161RouteDirection.UrlGeneration,
Template\TemplateBinder.cs (1)
438if (!constraint.Match(httpContext, NullRouter.Instance, parameterName, combinedValues, RouteDirection.UrlGeneration))
Tree\TreeRouter.cs (1)
324RouteDirection.UrlGeneration,
Microsoft.AspNetCore.Routing.Tests (10)
ConstraintMatcherTest.cs (1)
35routeDirection: RouteDirection.UrlGeneration,
Constraints\HttpMethodRouteConstraintTests.cs (2)
67var result = constraint.Match(httpContext, route, "httpMethod", values, RouteDirection.UrlGeneration); 87var result = constraint.Match(httpContext, route, "httpMethod", values, RouteDirection.UrlGeneration);
Constraints\RequiredRouteConstraintTests.cs (4)
14[InlineData(RouteDirection.UrlGeneration)] 34[InlineData(RouteDirection.UrlGeneration)] 54[InlineData(RouteDirection.UrlGeneration)] 74[InlineData(RouteDirection.UrlGeneration)]
Constraints\StringRouteConstraintTest.cs (3)
45routeDirection: RouteDirection.UrlGeneration); 85routeDirection: RouteDirection.UrlGeneration); 125routeDirection: RouteDirection.UrlGeneration);