1 type derived from EndpointSelector
Microsoft.AspNetCore.Routing (1)
Matching\DefaultEndpointSelector.cs (1)
9internal sealed class DefaultEndpointSelector : EndpointSelector
26 references to EndpointSelector
Microsoft.AspNetCore.Routing (11)
DependencyInjection\RoutingServiceCollectionExtensions.cs (1)
104services.TryAddSingleton<EndpointSelector, DefaultEndpointSelector>();
Matching\CandidateSet.cs (2)
15/// by the routing system. Used by implementations of <see cref="EndpointSelector"/> 28/// The constructor is provided to enable unit tests of implementations of <see cref="EndpointSelector"/>
Matching\CandidateState.cs (1)
43/// The score values are used in the <see cref="EndpointSelector"/> to determine
Matching\DfaMatcher.cs (2)
17private readonly EndpointSelector _selector; 22public DfaMatcher(ILogger<DfaMatcher> logger, EndpointSelector selector, DfaState[] states, int maxSegmentCount)
Matching\DfaMatcherBuilder.cs (2)
22private readonly EndpointSelector _selector; 39EndpointSelector selector,
Matching\EndpointSelector.cs (3)
10/// decision. To use a custom <see cref="EndpointSelector"/> register an implementation 11/// of <see cref="EndpointSelector"/> in the dependency injection container as a singleton. 22/// An <see cref="EndpointSelector"/> should assign the endpoint by calling
Microsoft.AspNetCore.Routing.Microbenchmarks (4)
src\Http\Routing\test\UnitTests\Matching\RouteMatcherBuilder.cs (2)
76private readonly EndpointSelector _selector; 81public SelectorRouter(EndpointSelector selector, RouteEndpoint[] candidates)
src\Http\Routing\test\UnitTests\Matching\TreeRouterMatcherBuilder.cs (2)
78private readonly EndpointSelector _selector; 83public SelectorRouter(EndpointSelector selector, RouteEndpoint[] candidates)
Microsoft.AspNetCore.Routing.Tests (11)
Matching\CandidateSetTest.cs (1)
388Mock.Of<EndpointSelector>(),
Matching\DfaMatcherBuilderTest.cs (1)
3506Mock.Of<EndpointSelector>(),
Matching\DfaMatcherTest.cs (5)
26EndpointSelector endpointSelector = null, 47serviceCollection.AddSingleton<EndpointSelector>(endpointSelector); 646var endpointSelector = new Mock<EndpointSelector>(); 692var endpointSelector = new Mock<EndpointSelector>(); 739var endpointSelector = new Mock<EndpointSelector>();
Matching\RouteMatcherBuilder.cs (2)
76private readonly EndpointSelector _selector; 81public SelectorRouter(EndpointSelector selector, RouteEndpoint[] candidates)
Matching\TreeRouterMatcherBuilder.cs (2)
78private readonly EndpointSelector _selector; 83public SelectorRouter(EndpointSelector selector, RouteEndpoint[] candidates)