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

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

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

            return score.message;
        }