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