2 types derived from ParameterPolicyFactory
Microsoft.AspNetCore.Routing (2)
DefaultParameterPolicyFactory.cs (1)
10
internal sealed class DefaultParameterPolicyFactory :
ParameterPolicyFactory
Matching\DfaMatcherBuilder.cs (1)
116
private sealed class CachingParameterPolicyFactory :
ParameterPolicyFactory
24 references to ParameterPolicyFactory
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
EndpointMetadataApiDescriptionProvider.cs (2)
27
private readonly
ParameterPolicyFactory
_parameterPolicyFactory;
35
ParameterPolicyFactory
parameterPolicyFactory,
Microsoft.AspNetCore.Routing (19)
DefaultLinkParser.cs (2)
15
private readonly
ParameterPolicyFactory
_parameterPolicyFactory;
26
ParameterPolicyFactory
parameterPolicyFactory,
DependencyInjection\RoutingServiceCollectionExtensions.cs (1)
84
services.TryAddSingleton<
ParameterPolicyFactory
, DefaultParameterPolicyFactory>();
MapRouteRouteBuilderExtensions.cs (4)
134
var
parameterPolicyFactory = serviceProvider
135
.GetRequiredService<
ParameterPolicyFactory
>();
145
private readonly
ParameterPolicyFactory
_parameterPolicyFactory;
147
public BackCompatInlineConstraintResolver(IInlineConstraintResolver inner,
ParameterPolicyFactory
parameterPolicyFactory)
Matching\DfaMatcherBuilder.cs (6)
21
private readonly
ParameterPolicyFactory
_parameterPolicyFactory;
38
ParameterPolicyFactory
parameterPolicyFactory,
118
private readonly
ParameterPolicyFactory
_inner;
121
public CachingParameterPolicyFactory(
ParameterPolicyFactory
inner)
168
private readonly
ParameterPolicyFactory
_parameterPolicyFactory;
174
ParameterPolicyFactory
parameterPolicyFactory)
Patterns\DefaultRoutePatternTransformer.cs (2)
12
private readonly
ParameterPolicyFactory
_policyFactory;
14
public 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)
12
private readonly
ParameterPolicyFactory
_policyFactory;
16
ParameterPolicyFactory
policyFactory,
Microsoft.AspNetCore.Routing.Tests (3)
Matching\CandidateSetTest.cs (1)
387
Mock.Of<
ParameterPolicyFactory
>(),
RouteTest.cs (1)
1763
services.AddSingleton<
ParameterPolicyFactory
, DefaultParameterPolicyFactory>();
TemplateParserDefaultValuesTests.cs (1)
131
services.AddSingleton<
ParameterPolicyFactory
, DefaultParameterPolicyFactory>();