using XP.ReportEngine.Models; namespace XP.ReportEngine.Interfaces { /// /// 模板引擎接口 | Template engine interface /// public interface ITemplateEngine { /// /// 加载并验证模板 | Load and validate template /// /// 模板文件路径 | Template file path /// 解析后的模板对象 | Parsed template object ReportTemplate LoadTemplate(string templatePath); /// /// 验证模板结构完整性 | Validate template structure integrity /// TemplateValidationResult Validate(ReportTemplate template); } }