/// <summary>
 /// Set multiple tags definition
 /// </summary>
 /// <param name="bbcodes">BBCodes</param>
 /// <param name="info">BBCode Info</param>
 public void SetMultipleTag(string[] bbcodes, BBCodeInfo info)
 {
     for (int i = 0; i < bbcodes.Length; i++)
     {
         this.SetTag(bbcodes[i], info);
     }
 }
        /// <summary>
        /// Set default tag
        /// </summary>
        /// <param name="info">BBCode Info</param>
        public BBCodeInfo SetDefaultTag(string content, BBCodeInfoFlags flags = 0)
        {
            BBCodeInfo info = new BBCodeInfo(content, flags);

            this.DefaultBBCodeInfo = info;
            return(info);
        }
        public BBCodeInfo SetMultipleTag(string[] bbcodes, string content)
        {
            BBCodeInfo info = new BBCodeInfo(content);

            this.SetMultipleTag(bbcodes, info);
            return(info);
        }
        /// <summary>
        /// Set single tag definition, with string
        /// </summary>
        /// <param name="bbcode">BBCode</param>
        /// <param name="info">BBCode Info</param>
        public BBCodeInfo SetTag(string bbcode, string content, BBCodeInfoFlags flags = 0)
        {
            if (string.IsNullOrEmpty(bbcode))
            {
                return(null);
            }
            BBCodeInfo info = new BBCodeInfo(content, flags);

            this.SetTag(bbcode, info);
            return(info);
        }
 /// <summary>
 /// Set single tag definition
 /// </summary>
 /// <param name="bbcode">BBCode</param>
 /// <param name="info">BBCode Info</param>
 public void SetTag(string bbcode, BBCodeInfo info)
 {
     this.BBCodes[bbcode] = info;
 }