12 implementations of IEndpointComparerPolicy
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
Microsoft.AspNetCore.Routing.Microbenchmarks (2)
Matching\MatcherBuilderMultipleEntryBenchmark.cs (2)
103private sealed class TestUberPolicy : TestMatcherPolicyBase, INodeBuilderPolicy, IEndpointComparerPolicy 149private sealed class TestEndpointComparerPolicy : TestMatcherPolicyBase, IEndpointComparerPolicy
Microsoft.AspNetCore.Routing.Tests (6)
Matching\CandidateSetTest.cs (1)
396private class TestMetadataMatcherPolicy : MatcherPolicy, IEndpointComparerPolicy
Matching\DfaMatcherBuilderTest.cs (3)
3583private class TestMetadata1MatcherPolicy : MatcherPolicy, IEndpointComparerPolicy, INodeBuilderPolicy 3625private class TestMetadata2MatcherPolicy : MatcherPolicy, IEndpointComparerPolicy, INodeBuilderPolicy 3653private class TestNonRoutePatternMatcherPolicy : MatcherPolicy, IEndpointComparerPolicy, INodeBuilderPolicy
Matching\EndpointComparerTest.cs (2)
261private class TestMetadata1Policy : IEndpointComparerPolicy 270private class TestMetadata2Policy : IEndpointComparerPolicy
14 references to IEndpointComparerPolicy
Microsoft.AspNetCore.Routing (11)
Matching\DfaMatcherBuilder.cs (3)
953private static (INodeBuilderPolicy[] nodeBuilderPolicies, IEndpointComparerPolicy[] endpointComparerPolicies, IEndpointSelectorPolicy[] endpointSelectorPolicies) ExtractPolicies(IEnumerable<MatcherPolicy> policies) 956var endpointComparerPolicies = new List<IEndpointComparerPolicy>(); 966if (policy is IEndpointComparerPolicy endpointComparerPolicy)
Matching\EndpointComparer.cs (1)
27public EndpointComparer(IEndpointComparerPolicy[] policies)
Matching\EndpointMetadataComparer.cs (3)
14/// <see cref="IEndpointComparerPolicy" />. The implementation can be retrieved from the service 39.OfType<IEndpointComparerPolicy>() 70/// Useful for implementing <see cref="IEndpointComparerPolicy.Comparer"/>.
Matching\IEndpointComparerPolicy.cs (3)
10/// endpoints. Implementations of <see cref="IEndpointComparerPolicy"/> must 17/// a <see cref="IEndpointComparerPolicy"/> adds an additional criterion to the sorting 22/// <see cref="IEndpointComparerPolicy"/> to ensure that endpoints matching specific HTTP
Matching\MatcherPolicy.cs (1)
17/// interfaces <see cref="IEndpointComparerPolicy"/>, <see cref="IEndpointSelectorPolicy"/>,
Microsoft.AspNetCore.Routing.Tests (3)
Matching\ContentEncodingNegotiationMatcherPolicyTest.cs (1)
622Array.Sort(endpoints, (policy as IEndpointComparerPolicy).Comparer);
Matching\DfaMatcherBuilderTest.cs (1)
2915var comparer = new EndpointComparer(policies.OrderBy(p => p.Order).OfType<IEndpointComparerPolicy>().ToArray());
Matching\EndpointComparerTest.cs (1)
252private static EndpointComparer CreateComparer(params IEndpointComparerPolicy[] policies)