13 references to Create
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
EndpointMetadataApiDescriptionProvider.cs (1)
232var policy = _parameterPolicyFactory.Create(parameterPart, parameterPolicyReference);
Microsoft.AspNetCore.Routing (7)
DefaultLinkParser.cs (1)
98var policy = _parameterPolicyFactory.Create(parameter, kvp.Value[i]);
Matching\DfaMatcherBuilder.cs (4)
405var parameterPolicy = _parameterPolicyFactory.Create(parameterPart, reference); 436var parameterPolicy = _parameterPolicyFactory.Create(parameterPart, reference); 480var parameterPolicy = _parameterPolicyFactory.Create(parameterPart, reference); 818var parameterPolicy = _parameterPolicyFactory.Create(parameter, reference);
Patterns\DefaultRoutePatternTransformer.cs (1)
203var policy = _policyFactory.Create(parameter, policies[i]);
Template\DefaultTemplateBinderFactory.cs (1)
51var parameterPolicy = _policyFactory.Create(parameter, kvp.Value[i]);
Microsoft.AspNetCore.Routing.Tests (5)
DefaultParameterPolicyFactoryTest.cs (5)
65var parameterPolicy = factory.Create(parameter, parameter.ParameterPolicies[0]); 84var parameterPolicy = factory.Create(parameter, parameter.ParameterPolicies[0]); 104var parameterPolicy = factory.Create(parameter, parameter.ParameterPolicies[0]); 123var parameterPolicy = factory.Create(parameter, parameter.ParameterPolicies[0]); 143var parameterPolicy = factory.Create(parameter, parameter.ParameterPolicies[0]);