报告XP.ReportEngine基础类设计和接口开发。

This commit is contained in:
QI Mingxuan
2026-05-11 16:40:24 +08:00
parent 18111b8468
commit 1573a33a02
31 changed files with 2596 additions and 3 deletions
@@ -0,0 +1,22 @@
using XP.ReportEngine.Models;
namespace XP.ReportEngine.Interfaces
{
/// <summary>
/// 模板引擎接口 | Template engine interface
/// </summary>
public interface ITemplateEngine
{
/// <summary>
/// 加载并验证模板 | Load and validate template
/// </summary>
/// <param name="templatePath">模板文件路径 | Template file path</param>
/// <returns>解析后的模板对象 | Parsed template object</returns>
ReportTemplate LoadTemplate(string templatePath);
/// <summary>
/// 验证模板结构完整性 | Validate template structure integrity
/// </summary>
TemplateValidationResult Validate(ReportTemplate template);
}
}