Exemple #1
0
        public static IconBadge CreateComment(string message)
        {
            IconBadge iconBadge = new IconBadge();

            iconBadge.AddToClassList("comment");
            iconBadge.badgeText = message;
            return(iconBadge);
        }
Exemple #2
0
        public static IconBadge CreateComment(string message)
        {
            var result = new IconBadge();

            result.AddToClassList("comment");
            result.badgeText = message;
            return(result);
        }
Exemple #3
0
        public static IconBadge CreateError(string message)
        {
            IconBadge iconBadge = new IconBadge();

            iconBadge.AddToClassList("error");
            iconBadge.badgeText = message;
            return(iconBadge);
        }
Exemple #4
0
        public static IconBadge CreateError(string message)
        {
            var result = new IconBadge();

            result.AddToClassList("error");
            result.badgeText = message;
            return(result);
        }