/// <summary> /// 替换模板数据 /// </summary> /// <param name="templateID"></param> /// <param name="eval"></param> /// <returns></returns> internal static string ReplaceTemplate(string templateID, MatchEvaluator eval) { string html = TemplateUtility.Read(templateID); return(TemplateRegexUtility.Replace(html, eval)); }