5 references to ParameterPolicy
Microsoft.AspNetCore.Routing (2)
Patterns\RoutePatternFactory.cs (2)
661policyReferences.Add(ParameterPolicy(parameterPolicy)); 673policyReferences.Add(item is IParameterPolicy p ? ParameterPolicy(p) : Constraint(item));
Microsoft.AspNetCore.Routing.Tests (3)
DefaultParameterPolicyFactoryTest.cs (3)
101parameterPolicies: new[] { RoutePatternFactory.ParameterPolicy(new IntRouteConstraint()), }); 120parameterPolicies: new[] { RoutePatternFactory.ParameterPolicy(new IntRouteConstraint()), }); 140parameterPolicies: new[] { RoutePatternFactory.ParameterPolicy(new CustomParameterPolicy()), });