5 references to HttpMethodMatcherPolicy
Microsoft.AspNetCore.Mvc.Core (1)
Routing\DynamicRouteValueTransformer.cs (1)
24/// <see cref="IEndpointSelectorPolicy" /> implementations such as <see cref="HttpMethodMatcherPolicy" />.
Microsoft.AspNetCore.Routing (4)
DependencyInjection\RoutingServiceCollectionExtensions.cs (1)
105services.TryAddEnumerable(ServiceDescriptor.Singleton<MatcherPolicy, HttpMethodMatcherPolicy>());
Matching\HttpMethodDictionaryPolicyJumpTable.cs (1)
24if (_corsHttpMethodDestinations != null && HttpMethodMatcherPolicy.IsCorsPreflightRequest(httpContext, httpMethod, out var accessControlRequestMethod))
Matching\HttpMethodSingleEntryPolicyJumpTable.cs (1)
37if (_supportsCorsPreflight && HttpMethodMatcherPolicy.IsCorsPreflightRequest(httpContext, httpMethod, out var accessControlRequestMethod))
Matching\IEndpointComparerPolicy.cs (1)
21/// As an example, the implementation of <see cref="HttpMethodMatcherPolicy"/> implements