2 writes to Score
Microsoft.AspNetCore.Routing (2)
Matching\CandidateState.cs (2)
16
Score
= score;
24
Score
= score;
14 references to Score
Microsoft.AspNetCore.Mvc.Core (2)
Routing\ActionConstraintMatcherPolicy.cs (2)
117
if (score != null && score != candidate.
Score
)
130
score = candidate.
Score
;
Microsoft.AspNetCore.Routing (12)
Matching\CandidateSet.cs (6)
34
/// <param name="scores">The list of endpoint scores. <see cref="CandidateState.
Score
"/>.</param>
122
return candidate.
Score
>= 0;
146
var originalScore = candidate.
Score
;
175
Candidates[index] = new CandidateState(endpoint!, values, Candidates[index].
Score
);
305
Candidates[i + endpoints.Count - 1] = new CandidateState(original[i].Endpoint, original[i].Values, original[i].
Score
+ scoreOffset);
317
var score = Candidates[index].
Score
;
Matching\DefaultEndpointSelector.cs (3)
76
foundScore = state.
Score
;
78
else if (foundScore < state.
Score
)
86
else if (foundScore == state.
Score
)
Matching\NegotiationMatcherPolicy.cs (3)
118
var candidateScore = candidates[i].
Score
;
141
bestMatchScore = candidates[bestMatchIndex].
Score
;
153
if (bestMatchIndex >= 0 && candidates[i].
Score
< bestMatchScore)