2 instantiations of CandidateSet
Microsoft.AspNetCore.Routing (2)
Matching\DfaMatcher.cs (2)
202return _selector.SelectAsync(httpContext, new CandidateSet(candidateStateArray)); 206return SelectEndpointWithPoliciesAsync(httpContext, policies, new CandidateSet(candidateStateArray));
31 references to CandidateSet
Microsoft.AspNetCore.Mvc.Core (4)
Routing\ActionConstraintMatcherPolicy.cs (3)
76public Task ApplyAsync(HttpContext httpContext, CandidateSet candidateSet) 104CandidateSet candidateSet) 156CandidateSet candidateSet,
Routing\DynamicControllerEndpointMatcherPolicy.cs (1)
58public async Task ApplyAsync(HttpContext httpContext, CandidateSet candidates)
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\DynamicPageEndpointMatcherPolicy.cs (1)
61public async Task ApplyAsync(HttpContext httpContext, CandidateSet candidates)
Microsoft.AspNetCore.Routing (26)
IDynamicEndpointMetadata.cs (1)
23/// part of a <see cref="CandidateSet"/>.
Matching\AcceptsMatcherPolicy.cs (1)
47public Task ApplyAsync(HttpContext httpContext, CandidateSet candidates)
Matching\CandidateSet.cs (1)
24/// Initializes a new instances of the <see cref="CandidateSet"/> class with the provided <paramref name="endpoints"/>,
Matching\CandidateState.cs (2)
9/// The state associated with a candidate in a <see cref="CandidateSet"/>. 34/// <see cref="CandidateSet"/>.
Matching\DefaultEndpointSelector.cs (4)
13CandidateSet candidateSet) 37if (CandidateSet.IsValidCandidate(ref state)) 66if (!CandidateSet.IsValidCandidate(ref state)) 115if (CandidateSet.IsValidCandidate(ref state))
Matching\DfaMatcher.cs (3)
163CandidateSet.SetValidity(ref state, false); 173CandidateSet.SetValidity(ref state, false); 319CandidateSet candidateSet)
Matching\EndpointMetadataComparer.cs (1)
15/// provider and provided to <see cref="CandidateSet.ExpandEndpoint(int, IReadOnlyList{Endpoint}, IComparer{Endpoint})"/>.
Matching\EndpointSelector.cs (3)
16/// Asynchronously selects an <see cref="Endpoint"/> from the <see cref="CandidateSet"/>. 19/// <param name="candidates">The <see cref="CandidateSet"/>.</param> 26public abstract Task SelectAsync(HttpContext httpContext, CandidateSet candidates);
Matching\HostMatcherPolicy.cs (1)
71public Task ApplyAsync(HttpContext httpContext, CandidateSet candidates)
Matching\HttpMethodMatcherPolicy.cs (1)
78public Task ApplyAsync(HttpContext httpContext, CandidateSet candidates)
Matching\IEndpointComparerPolicy.cs (1)
16/// Candidates in a <see cref="CandidateSet"/> are sorted based on their priority. Defining
Matching\IEndpointSelectorPolicy.cs (5)
10/// in a <see cref="CandidateSet"/>. Implementations of <see cref="IEndpointSelectorPolicy"/> must 27/// Applies the policy to the <see cref="CandidateSet"/>. 32/// <param name="candidates">The <see cref="CandidateSet"/>.</param> 37/// <see cref="CandidateSet.SetValidity(int, bool)"/> to <c>false</c> where desired. 46Task ApplyAsync(HttpContext httpContext, CandidateSet candidates);
Matching\NegotiationMatcherPolicy.cs (2)
82public Task ApplyAsync(HttpContext httpContext, CandidateSet candidates) 173CandidateSet candidates,