1 instantiation of CustomParameterPolicy
Microsoft.AspNetCore.Routing.Tests (1)
DefaultParameterPolicyFactoryTest.cs (1)
140
parameterPolicies: new[] { RoutePatternFactory.ParameterPolicy(new
CustomParameterPolicy
()), });
7 references to CustomParameterPolicy
Microsoft.AspNetCore.Routing.Tests (7)
DefaultParameterPolicyFactoryTest.cs (7)
146
Assert.IsType<
CustomParameterPolicy
>(parameterPolicy);
196
options.ConstraintMap.Add("customParameterPolicy", typeof(
CustomParameterPolicy
));
199
services.AddTransient<
CustomParameterPolicy
>();
207
Assert.IsType<
CustomParameterPolicy
>(parameterPolicy);
385
options.ConstraintMap.Add("customParameterPolicy", typeof(
CustomParameterPolicy
));
388
services.AddTransient<
CustomParameterPolicy
>();
396
Assert.IsType<
CustomParameterPolicy
>(parameterPolicy);