public static double AverageMarginOfNetVictoryForYear(this player player, year year) { var results = player.AllResultsForYear(year); return(player.AverageMarginOfNetVictoryForYear(year, results)); }
public double CalculateBoardValueForPlayer(PlayerLeaderBoard plb, player p, year y) { var value = plb.DoCalculation(p, y, p.AllResultsForYear(y)); return(value.HasValue ? value.Value : 0); }
public static double TotalPointsForYear(this player player, year year) { var results = player.AllResultsForYear(year); return(player.TotalPointsForYear(year, results)); }