public static string ScoreGetPoints(Score score) { if (score == null || string.IsNullOrEmpty(score.points)) return string.Empty; return score.points; }
public static bool ScoreHasPoints(Score score) { if (score == null || string.IsNullOrEmpty(score.points)) return false; return true; }
public static string ScoreGetMessage(Score score) { if (score == null || string.IsNullOrEmpty(score.message)) return string.Empty; return score.message; }