2 instantiations of CandidateSet
Microsoft.AspNetCore.Routing (2)
Matching\DfaMatcher.cs (2)
202
return _selector.SelectAsync(httpContext, new
CandidateSet
(candidateStateArray));
206
return SelectEndpointWithPoliciesAsync(httpContext, policies, new
CandidateSet
(candidateStateArray));
31 references to CandidateSet
Microsoft.AspNetCore.Mvc.Core (4)
Routing\ActionConstraintMatcherPolicy.cs (3)
76
public Task ApplyAsync(HttpContext httpContext,
CandidateSet
candidateSet)
104
CandidateSet
candidateSet)
156
CandidateSet
candidateSet,
Routing\DynamicControllerEndpointMatcherPolicy.cs (1)
58
public async Task ApplyAsync(HttpContext httpContext,
CandidateSet
candidates)
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\DynamicPageEndpointMatcherPolicy.cs (1)
61
public 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)
47
public 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)
13
CandidateSet
candidateSet)
37
if (
CandidateSet
.IsValidCandidate(ref state))
66
if (!
CandidateSet
.IsValidCandidate(ref state))
115
if (
CandidateSet
.IsValidCandidate(ref state))
Matching\DfaMatcher.cs (3)
163
CandidateSet
.SetValidity(ref state, false);
173
CandidateSet
.SetValidity(ref state, false);
319
CandidateSet
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>
26
public abstract Task SelectAsync(HttpContext httpContext,
CandidateSet
candidates);
Matching\HostMatcherPolicy.cs (1)
71
public Task ApplyAsync(HttpContext httpContext,
CandidateSet
candidates)
Matching\HttpMethodMatcherPolicy.cs (1)
78
public 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.
46
Task ApplyAsync(HttpContext httpContext,
CandidateSet
candidates);
Matching\NegotiationMatcherPolicy.cs (2)
82
public Task ApplyAsync(HttpContext httpContext,
CandidateSet
candidates)
173
CandidateSet
candidates,