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