1 instantiation of EndpointMetadataComparer
Microsoft.AspNetCore.Routing (1)
DependencyInjection\RoutingServiceCollectionExtensions.cs (1)
92return new EndpointMetadataComparer(services);
16 references to EndpointMetadataComparer
Microsoft.AspNetCore.Mvc.Core (2)
Routing\DynamicControllerEndpointMatcherPolicy.cs (2)
17private readonly EndpointMetadataComparer _comparer; 19public DynamicControllerEndpointMatcherPolicy(DynamicControllerEndpointSelectorCache selectorCache, EndpointMetadataComparer comparer)
Microsoft.AspNetCore.Mvc.Core.Test (2)
Routing\DynamicControllerEndpointMatcherPolicyTest.cs (2)
77Comparer = Services.GetRequiredService<EndpointMetadataComparer>(); 80private EndpointMetadataComparer Comparer { get; }
Microsoft.AspNetCore.Mvc.RazorPages (2)
Infrastructure\DynamicPageEndpointMatcherPolicy.cs (2)
18private readonly EndpointMetadataComparer _comparer; 20public DynamicPageEndpointMatcherPolicy(DynamicPageEndpointSelectorCache selectorCache, PageLoader loader, EndpointMetadataComparer comparer)
Microsoft.AspNetCore.Mvc.RazorPages.Test (2)
Infrastructure\DynamicPageEndpointMatcherPolicyTest.cs (2)
68Comparer = Services.GetRequiredService<EndpointMetadataComparer>(); 93private EndpointMetadataComparer Comparer { get; }
Microsoft.AspNetCore.Routing (3)
DependencyInjection\RoutingServiceCollectionExtensions.cs (1)
89services.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)
125var comparer = new EndpointMetadataComparer(services.Object); 168var comparer = new EndpointMetadataComparer(services.Object); 218var comparer = new EndpointMetadataComparer(services.Object); 275var comparer = new EndpointMetadataComparer(services.Object); 318var comparer = new EndpointMetadataComparer(services.Object);