public override string ToString() => ParsingUtility.EncodeCandidates(CandidateScores.Select(a => a.Candidate));
Beispiel #2
0
 public override string ToString() => CandidateScores
 .GroupBy(a => a.Score)
 .OrderByDescending(gp => gp.Key)
 .Select(gp => gp.Key.ToString() + ":" + ParsingUtility.EncodeCandidates(gp.Select(a => a.Candidate).OrderBy(x => x)))
 .Join(" ");