1 write to ParameterPolicies
Microsoft.AspNetCore.Components (1)
src\Http\Routing\src\Patterns\RoutePatternParameterPart.cs (1)
42ParameterPolicies = parameterPolicies;
15 references to ParameterPolicies
Microsoft.AspNetCore.Components (15)
Routing\RouteTable.cs (3)
110else if (parameter.ParameterPolicies.Count > 0 && !parameter.IsCatchAll) 114for (var i = 0; i < parameter.ParameterPolicies.Count; i++) 116var policy = parameter.ParameterPolicies[i];
src\Http\Routing\src\Patterns\RoutePatternFactory.cs (5)
610parameter.ParameterPolicies.Count > 0) 617parameterConstraints = new List<RoutePatternParameterPolicyReference>(parameter.ParameterPolicies.Count); 621if (parameter.ParameterPolicies.Count > 0) 623parameterConstraints!.AddRange(parameter.ParameterPolicies); 627&& parameter.ParameterPolicies.Count == 0
src\Http\Routing\src\Patterns\RoutePatternParameterPart.cs (1)
99foreach (var constraint in ParameterPolicies)
src\Http\Routing\src\Template\RoutePrecedence.cs (2)
194if (parameterPart.ParameterPolicies.Count > 0) 276if (parameterPart.ParameterPolicies.Count > 0)
src\Http\Routing\src\Tree\TreeRouteBuilder.cs (2)
130if (parameter.ParameterPolicies != null) 136foreach (var policy in parameter.ParameterPolicies)
src\Http\Routing\src\Tree\UrlMatchingTree.cs (2)
185if (parameterPart.ParameterPolicies.Count > 0 && !parameterPart.IsCatchAll) 207if (parameterPart.ParameterPolicies.Count > 0 && parameterPart.IsCatchAll)