Exemplo n.º 1
0
        public static string ScoreGetPoints(Score score)
        {
            if (score == null || string.IsNullOrEmpty(score.points))
                return string.Empty;

            return score.points;
        }
Exemplo n.º 2
0
        public static bool ScoreHasPoints(Score score)
        {
            if (score == null || string.IsNullOrEmpty(score.points))
                return false;

            return true;
        }
Exemplo n.º 3
0
        public static string ScoreGetMessage(Score score)
        {
            if (score == null || string.IsNullOrEmpty(score.message))
                return string.Empty;

            return score.message;
        }