Beispiel #1
0
        /// <summary>
        /// 解析包含标签的文本内容
        /// </summary>
        /// <param name="TxtContent">包含标签的文本内容</param>
        /// <param name="res">说依赖的相关资源对象</param>
        public static string InterpretContentWithTags(string TxtContent, IResourceDependency res)
        {
            if (!TxtContent.StartsWith("{#"))
            {
                TxtContent = "#}" + TxtContent + "{#";
            }

            PagerTag txtTag = new PagerTag();

            PagerTag.FilledInTagList(TxtContent, txtTag.tagList, res);
            txtTag.AlwaysShow = true;
            return(txtTag.ToString());
        }
Beispiel #2
0
 public AutoItem(string tagdef)
     : base(tagdef)
 {
     PagerTag.FilledInTagList(tagdef, tagList, this);
 }