7 types derived from MatcherPolicy
Microsoft.AspNetCore.Mvc.Core (2)
Routing\ActionConstraintMatcherPolicy.cs (1)
15
internal sealed class ActionConstraintMatcherPolicy :
MatcherPolicy
, IEndpointSelectorPolicy
Routing\DynamicControllerEndpointMatcherPolicy.cs (1)
14
internal sealed class DynamicControllerEndpointMatcherPolicy :
MatcherPolicy
, IEndpointSelectorPolicy
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\DynamicPageEndpointMatcherPolicy.cs (1)
14
internal sealed class DynamicPageEndpointMatcherPolicy :
MatcherPolicy
, IEndpointSelectorPolicy
Microsoft.AspNetCore.Routing (4)
Matching\AcceptsMatcherPolicy.cs (1)
11
internal sealed class AcceptsMatcherPolicy :
MatcherPolicy
, IEndpointComparerPolicy, INodeBuilderPolicy, IEndpointSelectorPolicy
Matching\HostMatcherPolicy.cs (1)
14
public sealed class HostMatcherPolicy :
MatcherPolicy
, IEndpointComparerPolicy, INodeBuilderPolicy, IEndpointSelectorPolicy
Matching\HttpMethodMatcherPolicy.cs (1)
16
public sealed class HttpMethodMatcherPolicy :
MatcherPolicy
, IEndpointComparerPolicy, INodeBuilderPolicy, IEndpointSelectorPolicy
Matching\NegotiationMatcherPolicy.cs (1)
10
internal abstract class NegotiationMatcherPolicy<TNegotiateMetadata> :
MatcherPolicy
, IEndpointSelectorPolicy, INodeBuilderPolicy, IEndpointComparerPolicy
25 references to MatcherPolicy
Microsoft.AspNetCore.Mvc.Core (2)
DependencyInjection\MvcCoreServiceCollectionExtensions.cs (2)
167
services.TryAddEnumerable(ServiceDescriptor.Singleton<
MatcherPolicy
, ActionConstraintMatcherPolicy>());
263
services.TryAddEnumerable(ServiceDescriptor.Singleton<
MatcherPolicy
, DynamicControllerEndpointMatcherPolicy>());
Microsoft.AspNetCore.Mvc.RazorPages (2)
DependencyInjection\MvcRazorPagesMvcCoreBuilderExtensions.cs (2)
89
services.TryAddEnumerable(ServiceDescriptor.Singleton<
MatcherPolicy
, DynamicPageEndpointMatcherPolicy>());
110
services.TryAddEnumerable(ServiceDescriptor.Singleton<
MatcherPolicy
, DynamicPageEndpointMatcherPolicy>());
Microsoft.AspNetCore.Routing (21)
DependencyInjection\RoutingServiceCollectionExtensions.cs (4)
105
services.TryAddEnumerable(ServiceDescriptor.Singleton<
MatcherPolicy
, HttpMethodMatcherPolicy>());
106
services.TryAddEnumerable(ServiceDescriptor.Singleton<
MatcherPolicy
, HostMatcherPolicy>());
107
services.TryAddEnumerable(ServiceDescriptor.Singleton<
MatcherPolicy
, AcceptsMatcherPolicy>());
108
services.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)
40
IEnumerable<
MatcherPolicy
> policies)
953
private static (INodeBuilderPolicy[] nodeBuilderPolicies, IEndpointComparerPolicy[] endpointComparerPolicies, IEndpointSelectorPolicy[] endpointSelectorPolicies) ExtractPolicies(IEnumerable<
MatcherPolicy
> policies)
959
foreach (
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