5 types derived from EndpointMetadataComparer
Microsoft.AspNetCore.Routing (5)
Matching\AcceptsMatcherPolicy.cs (1)
332
private sealed class ConsumesMetadataEndpointComparer :
EndpointMetadataComparer
<IAcceptsMetadata>
Matching\EndpointMetadataComparer.cs (1)
150
private sealed class DefaultComparer<T> :
EndpointMetadataComparer
<T> where T : class
Matching\HostMatcherPolicy.cs (1)
354
private sealed class HostMetadataEndpointComparer :
EndpointMetadataComparer
<IHostMetadata>
Matching\HttpMethodMatcherPolicy.cs (1)
430
private sealed class HttpMethodMetadataEndpointComparer :
EndpointMetadataComparer
<IHttpMethodMetadata>
Matching\NegotiationMatcherPolicy.cs (1)
377
private sealed class NegotiationMetadataEndpointComparer :
EndpointMetadataComparer
<TNegotiateMetadata>
12 references to EndpointMetadataComparer
Microsoft.AspNetCore.Routing (1)
Matching\EndpointMetadataComparer.cs (1)
81
public static readonly
EndpointMetadataComparer
<TMetadata> Default = new DefaultComparer<TMetadata>();
Microsoft.AspNetCore.Routing.Tests (11)
Matching\CandidateSetTest.cs (1)
399
public IComparer<Endpoint> Comparer =>
EndpointMetadataComparer
<TestMetadata>.Default;
Matching\DfaMatcherBuilderTest.cs (3)
3587
public IComparer<Endpoint> Comparer =>
EndpointMetadataComparer
<TestMetadata1>.Default;
3629
public IComparer<Endpoint> Comparer =>
EndpointMetadataComparer
<TestMetadata2>.Default;
3657
public IComparer<Endpoint> Comparer =>
EndpointMetadataComparer
<TestMetadata1>.Default;
Matching\EndpointComparerTest.cs (2)
263
public IComparer<Endpoint> Comparer =>
EndpointMetadataComparer
<TestMetadata1>.Default;
272
public IComparer<Endpoint> Comparer =>
EndpointMetadataComparer
<TestMetadata2>.Default;
Matching\EndpointMetadataComparerTest.cs (5)
18
var result =
EndpointMetadataComparer
<TestMetadata>.Default.Compare(endpoint1, endpoint2);
32
var result =
EndpointMetadataComparer
<TestMetadata>.Default.Compare(endpoint1, endpoint2);
46
var result =
EndpointMetadataComparer
<TestMetadata>.Default.Compare(endpoint1, endpoint2);
60
var result =
EndpointMetadataComparer
<TestMetadata>.Default.Compare(endpoint1, endpoint2);
76
list.Sort(
EndpointMetadataComparer
<TestMetadata>.Default);