public decimal GetTotal(IDictionary <Problem, Grade.Comment> problems) { return(Grade.CalculatePoints(problems)); }
public string GetPointsString() { return(Problem.IsMultiplier() ? String.Format("{0:0.##} of {1:0.##%}", Points, Problem.TotalMultiplier) : Grade.GetPointsString(Points, Problem.TotalPoints)); }