报告XP.ReportEngine基础类设计和接口开发。
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user