1 instantiation of EndpointMetadataComparer
Microsoft.AspNetCore.Routing (1)
DependencyInjection\RoutingServiceCollectionExtensions.cs (1)
92
return new
EndpointMetadataComparer
(services);
16 references to EndpointMetadataComparer
Microsoft.AspNetCore.Mvc.Core (2)
Routing\DynamicControllerEndpointMatcherPolicy.cs (2)
17
private readonly
EndpointMetadataComparer
_comparer;
19
public DynamicControllerEndpointMatcherPolicy(DynamicControllerEndpointSelectorCache selectorCache,
EndpointMetadataComparer
comparer)
Microsoft.AspNetCore.Mvc.Core.Test (2)
Routing\DynamicControllerEndpointMatcherPolicyTest.cs (2)
77
Comparer = Services.GetRequiredService<
EndpointMetadataComparer
>();
80
private
EndpointMetadataComparer
Comparer { get; }
Microsoft.AspNetCore.Mvc.RazorPages (2)
Infrastructure\DynamicPageEndpointMatcherPolicy.cs (2)
18
private readonly
EndpointMetadataComparer
_comparer;
20
public DynamicPageEndpointMatcherPolicy(DynamicPageEndpointSelectorCache selectorCache, PageLoader loader,
EndpointMetadataComparer
comparer)
Microsoft.AspNetCore.Mvc.RazorPages.Test (2)
Infrastructure\DynamicPageEndpointMatcherPolicyTest.cs (2)
68
Comparer = Services.GetRequiredService<
EndpointMetadataComparer
>();
93
private
EndpointMetadataComparer
Comparer { get; }
Microsoft.AspNetCore.Routing (3)
DependencyInjection\RoutingServiceCollectionExtensions.cs (1)
89
services.TryAddSingleton<
EndpointMetadataComparer
>(services =>
Matching\CandidateSet.cs (1)
195
/// type <see cref="
EndpointMetadataComparer
"/>.
Matching\EndpointMetadataComparer.cs (1)
79
/// A default instance of the <see cref="
EndpointMetadataComparer
"/>.
Microsoft.AspNetCore.Routing.Tests (5)
Matching\CandidateSetTest.cs (5)
125
var
comparer = new EndpointMetadataComparer(services.Object);
168
var
comparer = new EndpointMetadataComparer(services.Object);
218
var
comparer = new EndpointMetadataComparer(services.Object);
275
var
comparer = new EndpointMetadataComparer(services.Object);
318
var
comparer = new EndpointMetadataComparer(services.Object);