Esempio n. 1
0
        /// <summary>
        /// Add contents to this tag - at the end of the already added contents.
        /// If you want to replace the contents, use Wrap() instead
        /// </summary>

        /// <param name="children">a variable amount of tags / strings to add to the contents of this tag</param>
        /// <returns></returns>
        public T Add(params object[] children)
        {
            TagChildren.Add(children);
            return(this as T);
        }
Esempio n. 2
0
        /// <summary>
        /// Add contents to this tag - at the end of the already added contents.
        /// If you want to replace the contents, use Wrap() instead
        /// </summary>

        /// <param name="child"></param>
        /// <returns></returns>
        public T Add(object child)
        {
            TagChildren.Add(child);
            return(this as T);
        }