Пример #1
0
        public static FluentTagBuilder Style(this FluentTagBuilder tag, params string[] styles)
        {
            var stringBuilder = new StringBuilder();

            foreach (var style in styles)
            {
                stringBuilder.AppendFormat("{0};", style);
            }
            return(tag.Style(stringBuilder.ToString()));
        }