예제 #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);
        }