27 references to CandidateSet
Microsoft.AspNetCore.Mvc.Core.Test (8)
Routing\DynamicControllerEndpointMatcherPolicyTest.cs (8)
108var candidates = new CandidateSet(endpoints, values, scores); 138var candidates = new CandidateSet(endpoints, values, scores); 169var candidates = new CandidateSet(endpoints, values, scores); 215var candidates = new CandidateSet(endpoints, values, scores); 246var candidates = new CandidateSet(endpoints, values, scores); 303var candidates = new CandidateSet(endpoints, values, scores); 342var candidates = new CandidateSet(endpoints, values, scores); 404var candidates = new CandidateSet(endpoints, values, scores);
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (1)
PageLoaderMatcherPolicyTest.cs (1)
104var candidateSet = new CandidateSet(
Microsoft.AspNetCore.Mvc.RazorPages.Test (8)
Infrastructure\DynamicPageEndpointMatcherPolicyTest.cs (8)
125var candidates = new CandidateSet(endpoints, values, scores); 155var candidates = new CandidateSet(endpoints, values, scores); 186var candidates = new CandidateSet(endpoints, values, scores); 226var candidates = new CandidateSet(endpoints, values, scores); 277var candidates = new CandidateSet(endpoints, values, scores); 307var candidates = new CandidateSet(endpoints, values, scores); 345var candidates = new CandidateSet(endpoints, values, scores); 405var candidates = new CandidateSet(endpoints, values, scores);
Microsoft.AspNetCore.Mvc.Test (1)
Routing\ActionConstraintMatcherPolicyTest.cs (1)
493var candidateSet = new CandidateSet(
Microsoft.AspNetCore.Routing.Microbenchmarks (2)
src\Http\Routing\test\UnitTests\Matching\RouteMatcherBuilder.cs (1)
100await _selector.SelectAsync(routeContext.HttpContext, new CandidateSet(_candidates, _values, _scores));
src\Http\Routing\test\UnitTests\Matching\TreeRouterMatcherBuilder.cs (1)
102await _selector.SelectAsync(routeContext.HttpContext, new CandidateSet(_candidates, _values, _scores));
Microsoft.AspNetCore.Routing.Tests (7)
Matching\AcceptsMatcherPolicyTest.cs (1)
621return new CandidateSet(endpoints, new RouteValueDictionary[endpoints.Length], new int[endpoints.Length]);
Matching\CandidateSetTest.cs (1)
353var candidateSet = new CandidateSet(endpoints, values, Enumerable.Range(0, count).ToArray());
Matching\ContentEncodingNegotiationMatcherPolicyTest.cs (1)
629private static CandidateSet CreateCandidateSet(params Endpoint[] endpoints) => new(
Matching\DefaultEndpointSelectorTest.cs (1)
187return new CandidateSet(endpoints, new RouteValueDictionary[endpoints.Length], scores);
Matching\HttpMethodMatcherPolicyTest.cs (1)
167var candidates = new CandidateSet(endpoints, new RouteValueDictionary[endpoints.Length], Enumerable.Repeat<int>(-1, candidateNum).ToArray());
Matching\RouteMatcherBuilder.cs (1)
100await _selector.SelectAsync(routeContext.HttpContext, new CandidateSet(_candidates, _values, _scores));
Matching\TreeRouterMatcherBuilder.cs (1)
102await _selector.SelectAsync(routeContext.HttpContext, new CandidateSet(_candidates, _values, _scores));