Пример #1
0
        public static string ScoreGetPoints(Score score)
        {
            if (score == null || string.IsNullOrEmpty(score.points))
                return string.Empty;

            return score.points;
        }
Пример #2
0
        public static bool ScoreHasPoints(Score score)
        {
            if (score == null || string.IsNullOrEmpty(score.points))
                return false;

            return true;
        }
Пример #3
0
        public static string ScoreGetMessage(Score score)
        {
            if (score == null || string.IsNullOrEmpty(score.message))
                return string.Empty;

            return score.message;
        }