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