1 write to ParameterPolicies
Microsoft.AspNetCore.Routing (1)
Patterns\RoutePattern.cs (1)
56
ParameterPolicies
= parameterPolicies;
19 references to ParameterPolicies
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
EndpointMetadataApiDescriptionProvider.cs (1)
228
if (pattern.
ParameterPolicies
.TryGetValue(parameter.Name, out var parameterPolicyReferences))
Microsoft.AspNetCore.Routing (12)
DefaultLinkParser.cs (1)
91
var policies = endpoint.RoutePattern.
ParameterPolicies
;
Matching\DfaMatcherBuilder.cs (4)
325
if (endpoint.RoutePattern.
ParameterPolicies
.TryGetValue(parameterPart.Name, out var parameterPolicyReferences))
400
if (endpoint.RoutePattern.
ParameterPolicies
.TryGetValue(partParameter.Name, out var parameterPolicyReferences))
475
if (endpoint.RoutePattern.
ParameterPolicies
.TryGetValue(parameterPart.Name, out var parameterPolicyReferences))
811
foreach (var kvp in routeEndpoint.RoutePattern.
ParameterPolicies
)
Patterns\DefaultRoutePatternTransformer.cs (2)
191
original.
ParameterPolicies
,
199
if (pattern.
ParameterPolicies
.TryGetValue(key, out var policies))
Patterns\RoutePattern.cs (1)
73
/// The keys of <see cref="
ParameterPolicies
"/> are the route parameter names.
Patterns\RoutePatternFactory.cs (3)
1096
var parameterPolicies = CombineDictionaries(left.
ParameterPolicies
, right.
ParameterPolicies
, rawText, nameof(RoutePattern.
ParameterPolicies
));
Template\DefaultTemplateBinderFactory.cs (1)
40
foreach (var kvp in pattern.
ParameterPolicies
)
Microsoft.AspNetCore.Routing.Tests (6)
Patterns\RoutePatternFactoryTest.cs (6)
163
actual.
ParameterPolicies
.OrderBy(kvp => kvp.Key),
200
actual.
ParameterPolicies
.OrderBy(kvp => kvp.Key),
236
actual.
ParameterPolicies
.OrderBy(kvp => kvp.Key),
267
actual.
ParameterPolicies
.OrderBy(kvp => kvp.Key),
334
actual.
ParameterPolicies
.OrderBy(kvp => kvp.Key),
370
actual.
ParameterPolicies
.OrderBy(kvp => kvp.Key),