7 implementations of IEndpointSelectorPolicy
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
30 references to IEndpointSelectorPolicy
Microsoft.AspNetCore.Mvc.Core (1)
Routing\DynamicRouteValueTransformer.cs (1)
24/// <see cref="IEndpointSelectorPolicy" /> implementations such as <see cref="HttpMethodMatcherPolicy" />.
Microsoft.AspNetCore.Routing (29)
Matching\AcceptsMatcherPolicy.cs (1)
34bool IEndpointSelectorPolicy.AppliesToEndpoints(IReadOnlyList<Endpoint> endpoints)
Matching\CandidateSet.cs (3)
16/// and <see cref="IEndpointSelectorPolicy"/>. 29/// and <see cref="IEndpointSelectorPolicy"/>. 200/// <see cref="IEndpointSelectorPolicy"/> implementations to disambiguate further.
Matching\DfaMatcher.cs (3)
209internal (Candidate[] candidates, IEndpointSelectorPolicy[] policies) FindCandidateSet( 318IEndpointSelectorPolicy[] policies, 323var policy = policies[i];
Matching\DfaMatcherBuilder.cs (9)
23private readonly IEndpointSelectorPolicy[] _endpointSelectorPolicies; 575Array.Empty<IEndpointSelectorPolicy>(), 649List<IEndpointSelectorPolicy> endpointSelectorPolicies = null; 654var endpointSelectorPolicy = _endpointSelectorPolicies[i]; 659endpointSelectorPolicies = new List<IEndpointSelectorPolicy>(); 669endpointSelectorPolicies?.ToArray() ?? Array.Empty<IEndpointSelectorPolicy>(), 953private static (INodeBuilderPolicy[] nodeBuilderPolicies, IEndpointComparerPolicy[] endpointComparerPolicies, IEndpointSelectorPolicy[] endpointSelectorPolicies) ExtractPolicies(IEnumerable<MatcherPolicy> policies) 957var endpointSelectorPolicies = new List<IEndpointSelectorPolicy>(); 971if (policy is IEndpointSelectorPolicy endpointSelectorPolicy)
Matching\DfaState.cs (2)
12public readonly IEndpointSelectorPolicy[] Policies; 18IEndpointSelectorPolicy[] policies,
Matching\HostMatcherPolicy.cs (1)
33bool IEndpointSelectorPolicy.AppliesToEndpoints(IReadOnlyList<Endpoint> endpoints)
Matching\HttpMethodMatcherPolicy.cs (1)
51bool IEndpointSelectorPolicy.AppliesToEndpoints(IReadOnlyList<Endpoint> endpoints)
Matching\IEndpointSelectorPolicy.cs (4)
10/// in a <see cref="CandidateSet"/>. Implementations of <see cref="IEndpointSelectorPolicy"/> must 17/// Returns a value that indicates whether the <see cref="IEndpointSelectorPolicy"/> applies 35/// Implementations of <see cref="IEndpointSelectorPolicy"/> should implement this method 40/// To signal an error condition, the <see cref="IEndpointSelectorPolicy"/> should assign the endpoint by
Matching\MatcherPolicy.cs (4)
17/// interfaces <see cref="IEndpointComparerPolicy"/>, <see cref="IEndpointSelectorPolicy"/>, 38/// during processing by an <see cref="IEndpointSelectorPolicy"/>. 41/// An implementation of <see cref="INodeBuilderPolicy"/> should also implement <see cref="IEndpointSelectorPolicy"/> 42/// and use its <see cref="IEndpointSelectorPolicy"/> implementation when a node contains a dynamic endpoint.
Matching\NegotiationMatcherPolicy.cs (1)
26bool IEndpointSelectorPolicy.AppliesToEndpoints(IReadOnlyList<Endpoint> endpoints) =>