1 type derived from EndpointSelector
Microsoft.AspNetCore.Routing (1)
Matching\DefaultEndpointSelector.cs (1)
9
internal sealed class DefaultEndpointSelector :
EndpointSelector
26 references to EndpointSelector
Microsoft.AspNetCore.Routing (11)
DependencyInjection\RoutingServiceCollectionExtensions.cs (1)
104
services.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)
17
private readonly
EndpointSelector
_selector;
22
public DfaMatcher(ILogger<DfaMatcher> logger,
EndpointSelector
selector, DfaState[] states, int maxSegmentCount)
Matching\DfaMatcherBuilder.cs (2)
22
private readonly
EndpointSelector
_selector;
39
EndpointSelector
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)
76
private readonly
EndpointSelector
_selector;
81
public SelectorRouter(
EndpointSelector
selector, RouteEndpoint[] candidates)
src\Http\Routing\test\UnitTests\Matching\TreeRouterMatcherBuilder.cs (2)
78
private readonly
EndpointSelector
_selector;
83
public SelectorRouter(
EndpointSelector
selector, RouteEndpoint[] candidates)
Microsoft.AspNetCore.Routing.Tests (11)
Matching\CandidateSetTest.cs (1)
388
Mock.Of<
EndpointSelector
>(),
Matching\DfaMatcherBuilderTest.cs (1)
3506
Mock.Of<
EndpointSelector
>(),
Matching\DfaMatcherTest.cs (5)
26
EndpointSelector
endpointSelector = null,
47
serviceCollection.AddSingleton<
EndpointSelector
>(endpointSelector);
646
var endpointSelector = new Mock<
EndpointSelector
>();
692
var endpointSelector = new Mock<
EndpointSelector
>();
739
var endpointSelector = new Mock<
EndpointSelector
>();
Matching\RouteMatcherBuilder.cs (2)
76
private readonly
EndpointSelector
_selector;
81
public SelectorRouter(
EndpointSelector
selector, RouteEndpoint[] candidates)
Matching\TreeRouterMatcherBuilder.cs (2)
78
private readonly
EndpointSelector
_selector;
83
public SelectorRouter(
EndpointSelector
selector, RouteEndpoint[] candidates)