3 writes to
Microsoft.AspNetCore.Mvc.Core (2)
Routing\ActionConstraintMatcherPolicy.cs (2)
116
ref var candidate = ref candidateSet
[
i];
217
ref var candidate = ref candidateSet
[
item.index];
Microsoft.AspNetCore.Routing (1)
Matching\NegotiationMatcherPolicy.cs (1)
125
ref var candidate = ref candidates
[
i];
12 references to
Microsoft.AspNetCore.Mvc.Core (2)
Routing\DynamicControllerEndpointMatcherPolicy.cs (2)
76
var endpoint = candidates
[
i].Endpoint;
77
var originalValues = candidates
[
i].Values!;
Microsoft.AspNetCore.Mvc.RazorPages (2)
Infrastructure\DynamicPageEndpointMatcherPolicy.cs (2)
78
var endpoint = candidates
[
i].Endpoint;
79
var originalValues = candidates
[
i].Values;
Microsoft.AspNetCore.Routing (8)
Matching\AcceptsMatcherPolicy.cs (1)
61
var metadata = candidates
[
i].Endpoint?.Metadata.GetMetadata<IAcceptsMetadata>();
Matching\HostMatcherPolicy.cs (1)
83
var hosts = candidates
[
i].Endpoint.Metadata.GetMetadata<IHostMetadata>()?.Hosts;
Matching\HttpMethodMatcherPolicy.cs (1)
99
var metadata = candidates
[
i].Endpoint?.Metadata.GetMetadata<IHttpMethodMetadata>();
Matching\NegotiationMatcherPolicy.cs (5)
118
var candidateScore = candidates
[
i].Score;
141
bestMatchScore = candidates
[
bestMatchIndex].Score;
153
if (bestMatchIndex >= 0 && candidates
[
i].Score < bestMatchScore)
187
bestEndpointQualitySoFar = GetMetadataQuality(candidates
[
currentIndex].Endpoint) ?? 1.0;
209
var endpointQuality = GetMetadataQuality(candidates
[
currentIndex].Endpoint) ?? 1.0;