Пример #1
0
        public static IconBadge CreateComment(string message)
        {
            IconBadge iconBadge = new IconBadge();

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

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

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

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