6 references to CandidateState
Microsoft.AspNetCore.Routing (6)
Matching\CandidateSet.cs (6)
49Candidates[i] = new CandidateState(endpoints[i], values[i], scores[i]);
148candidate = new CandidateState(candidate.Endpoint, candidate.Values, score);
175Candidates[index] = new CandidateState(endpoint!, values, Candidates[index].Score);
281candidates[index] = new CandidateState(buffer[0], values, score);
300Candidates[i + index] = new CandidateState(buffer[i], values, score + scoreOffset);
305Candidates[i + endpoints.Count - 1] = new CandidateState(original[i].Endpoint, original[i].Values, original[i].Score + scoreOffset);