1 override of SelectAsync
Microsoft.AspNetCore.Routing (1)
Matching\DefaultEndpointSelector.cs (1)
11
public override Task
SelectAsync
(
16 references to SelectAsync
Microsoft.AspNetCore.Routing (2)
Matching\DfaMatcher.cs (2)
202
return _selector.
SelectAsync
(httpContext, new CandidateSet(candidateStateArray));
332
await _selector.
SelectAsync
(httpContext, candidateSet);
Microsoft.AspNetCore.Routing.Microbenchmarks (2)
src\Http\Routing\test\UnitTests\Matching\RouteMatcherBuilder.cs (1)
100
await _selector.
SelectAsync
(routeContext.HttpContext, new CandidateSet(_candidates, _values, _scores));
src\Http\Routing\test\UnitTests\Matching\TreeRouterMatcherBuilder.cs (1)
102
await _selector.
SelectAsync
(routeContext.HttpContext, new CandidateSet(_candidates, _values, _scores));
Microsoft.AspNetCore.Routing.Tests (12)
Matching\DefaultEndpointSelectorTest.cs (7)
23
await selector.
SelectAsync
(httpContext, candidateSet);
44
await selector.
SelectAsync
(httpContext, candidateSet);
65
await selector.
SelectAsync
(httpContext, candidateSet);
86
await selector.
SelectAsync
(httpContext, candidateSet);
108
await selector.
SelectAsync
(httpContext, candidateSet);
139
await selector.
SelectAsync
(httpContext, candidateSet);
161
var ex = await Assert.ThrowsAsync<AmbiguousMatchException>(() => selector.
SelectAsync
(httpContext, candidateSet));
Matching\DfaMatcherTest.cs (3)
648
.Setup(s => s.
SelectAsync
(It.IsAny<HttpContext>(), It.IsAny<CandidateSet>()))
694
.Setup(s => s.
SelectAsync
(It.IsAny<HttpContext>(), It.IsAny<CandidateSet>()))
741
.Setup(s => s.
SelectAsync
(It.IsAny<HttpContext>(), It.IsAny<CandidateSet>()))
Matching\RouteMatcherBuilder.cs (1)
100
await _selector.
SelectAsync
(routeContext.HttpContext, new CandidateSet(_candidates, _values, _scores));
Matching\TreeRouterMatcherBuilder.cs (1)
102
await _selector.
SelectAsync
(routeContext.HttpContext, new CandidateSet(_candidates, _values, _scores));