Example #1
0
 public Score CurrentScore()
 {
     return(Score.SumOfWins(Games.Where(g => g.IsOver()).Select(g => g.CurrentScore()).ToList()));
 }
Example #2
0
 public static Score CurrentScore(Match match)
 {
     return(Score.SumOfWins(match.Sets.Where(s => s.IsOver()).Select(s => s.CurrentScore()).ToList()));
 }