2 types derived from ParameterPolicyFactory
Microsoft.AspNetCore.Routing (2)
DefaultParameterPolicyFactory.cs (1)
10internal sealed class DefaultParameterPolicyFactory : ParameterPolicyFactory
Matching\DfaMatcherBuilder.cs (1)
116private sealed class CachingParameterPolicyFactory : ParameterPolicyFactory
24 references to ParameterPolicyFactory
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
EndpointMetadataApiDescriptionProvider.cs (2)
27private readonly ParameterPolicyFactory _parameterPolicyFactory; 35ParameterPolicyFactory parameterPolicyFactory,
Microsoft.AspNetCore.Routing (19)
DefaultLinkParser.cs (2)
15private readonly ParameterPolicyFactory _parameterPolicyFactory; 26ParameterPolicyFactory parameterPolicyFactory,
DependencyInjection\RoutingServiceCollectionExtensions.cs (1)
84services.TryAddSingleton<ParameterPolicyFactory, DefaultParameterPolicyFactory>();
MapRouteRouteBuilderExtensions.cs (4)
134var parameterPolicyFactory = serviceProvider 135.GetRequiredService<ParameterPolicyFactory>(); 145private readonly ParameterPolicyFactory _parameterPolicyFactory; 147public BackCompatInlineConstraintResolver(IInlineConstraintResolver inner, ParameterPolicyFactory parameterPolicyFactory)
Matching\DfaMatcherBuilder.cs (6)
21private readonly ParameterPolicyFactory _parameterPolicyFactory; 38ParameterPolicyFactory parameterPolicyFactory, 118private readonly ParameterPolicyFactory _inner; 121public CachingParameterPolicyFactory(ParameterPolicyFactory inner) 168private readonly ParameterPolicyFactory _parameterPolicyFactory; 174ParameterPolicyFactory parameterPolicyFactory)
Patterns\DefaultRoutePatternTransformer.cs (2)
12private readonly ParameterPolicyFactory _policyFactory; 14public DefaultRoutePatternTransformer(ParameterPolicyFactory policyFactory)
Patterns\RoutePatternFactory.cs (2)
984/// The constraint text, which will be resolved by <see cref="ParameterPolicyFactory"/>. 1014/// The parameter policy text, which will be resolved by <see cref="ParameterPolicyFactory"/>.
Template\DefaultTemplateBinderFactory.cs (2)
12private readonly ParameterPolicyFactory _policyFactory; 16ParameterPolicyFactory policyFactory,
Microsoft.AspNetCore.Routing.Tests (3)
Matching\CandidateSetTest.cs (1)
387Mock.Of<ParameterPolicyFactory>(),
RouteTest.cs (1)
1763services.AddSingleton<ParameterPolicyFactory, DefaultParameterPolicyFactory>();
TemplateParserDefaultValuesTests.cs (1)
131services.AddSingleton<ParameterPolicyFactory, DefaultParameterPolicyFactory>();