7 types derived from MatcherPolicy
Microsoft.AspNetCore.Mvc.Core (2)
Routing\ActionConstraintMatcherPolicy.cs (1)
15internal sealed class ActionConstraintMatcherPolicy : MatcherPolicy, IEndpointSelectorPolicy
Routing\DynamicControllerEndpointMatcherPolicy.cs (1)
14internal sealed class DynamicControllerEndpointMatcherPolicy : MatcherPolicy, IEndpointSelectorPolicy
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\DynamicPageEndpointMatcherPolicy.cs (1)
14internal sealed class DynamicPageEndpointMatcherPolicy : MatcherPolicy, IEndpointSelectorPolicy
Microsoft.AspNetCore.Routing (4)
Matching\AcceptsMatcherPolicy.cs (1)
11internal sealed class AcceptsMatcherPolicy : MatcherPolicy, IEndpointComparerPolicy, INodeBuilderPolicy, IEndpointSelectorPolicy
Matching\HostMatcherPolicy.cs (1)
14public sealed class HostMatcherPolicy : MatcherPolicy, IEndpointComparerPolicy, INodeBuilderPolicy, IEndpointSelectorPolicy
Matching\HttpMethodMatcherPolicy.cs (1)
16public sealed class HttpMethodMatcherPolicy : MatcherPolicy, IEndpointComparerPolicy, INodeBuilderPolicy, IEndpointSelectorPolicy
Matching\NegotiationMatcherPolicy.cs (1)
10internal abstract class NegotiationMatcherPolicy<TNegotiateMetadata> : MatcherPolicy, IEndpointSelectorPolicy, INodeBuilderPolicy, IEndpointComparerPolicy
25 references to MatcherPolicy
Microsoft.AspNetCore.Mvc.Core (2)
DependencyInjection\MvcCoreServiceCollectionExtensions.cs (2)
167services.TryAddEnumerable(ServiceDescriptor.Singleton<MatcherPolicy, ActionConstraintMatcherPolicy>()); 263services.TryAddEnumerable(ServiceDescriptor.Singleton<MatcherPolicy, DynamicControllerEndpointMatcherPolicy>());
Microsoft.AspNetCore.Mvc.RazorPages (2)
DependencyInjection\MvcRazorPagesMvcCoreBuilderExtensions.cs (2)
89services.TryAddEnumerable(ServiceDescriptor.Singleton<MatcherPolicy, DynamicPageEndpointMatcherPolicy>()); 110services.TryAddEnumerable(ServiceDescriptor.Singleton<MatcherPolicy, DynamicPageEndpointMatcherPolicy>());
Microsoft.AspNetCore.Routing (21)
DependencyInjection\RoutingServiceCollectionExtensions.cs (4)
105services.TryAddEnumerable(ServiceDescriptor.Singleton<MatcherPolicy, HttpMethodMatcherPolicy>()); 106services.TryAddEnumerable(ServiceDescriptor.Singleton<MatcherPolicy, HostMatcherPolicy>()); 107services.TryAddEnumerable(ServiceDescriptor.Singleton<MatcherPolicy, AcceptsMatcherPolicy>()); 108services.TryAddEnumerable(ServiceDescriptor.Singleton<MatcherPolicy, ContentEncodingNegotiationMatcherPolicy>());
IDynamicEndpointMetadata.cs (1)
16/// <see cref="MatcherPolicy"/> implementations that an <see cref="Endpoint"/> has dynamic behavior
Matching\DfaMatcherBuilder.cs (3)
40IEnumerable<MatcherPolicy> policies) 953private static (INodeBuilderPolicy[] nodeBuilderPolicies, IEndpointComparerPolicy[] endpointComparerPolicies, IEndpointSelectorPolicy[] endpointSelectorPolicies) ExtractPolicies(IEnumerable<MatcherPolicy> policies) 959foreach (var policy in policies)
Matching\EndpointMetadataComparer.cs (1)
37_comparers = _services.GetServices<MatcherPolicy>()
Matching\HostMatcherPolicy.cs (1)
11/// A <see cref="MatcherPolicy"/> that implements filtering and selection by
Matching\HttpMethodMatcherPolicy.cs (1)
13/// An <see cref="MatcherPolicy"/> that implements filtering and selection by
Matching\IEndpointComparerPolicy.cs (3)
9/// A <see cref="MatcherPolicy"/> interface that can be implemented to sort 11/// inherit from <see cref="MatcherPolicy"/> and should be registered in 12/// the dependency injection container as singleton services of type <see cref="MatcherPolicy"/>.
Matching\IEndpointSelectorPolicy.cs (3)
9/// A <see cref="MatcherPolicy"/> interface that can be implemented to filter endpoints 11/// inherit from <see cref="MatcherPolicy"/> and should be registered in 12/// the dependency injection container as singleton services of type <see cref="MatcherPolicy"/>.
Matching\MatcherPolicy.cs (4)
11/// of <see cref="MatcherPolicy"/> and related interfaces must be registered 13/// <see cref="MatcherPolicy"/>. 16/// <see cref="MatcherPolicy"/> implementations can implement the following 23/// Gets a value that determines the order the <see cref="MatcherPolicy"/> should