报告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
+18
View File
@@ -0,0 +1,18 @@
using XP.ReportEngine.Models;
namespace XP.ReportEngine.Interfaces
{
/// <summary>
/// 数据绑定器接口 | Data binder interface
/// </summary>
public interface IDataBinder
{
/// <summary>
/// 将上下文数据绑定到模板 | Bind context data to template
/// </summary>
/// <param name="template">报告模板 | Report template</param>
/// <param name="context">报告上下文 | Report context</param>
/// <returns>绑定后的模板(元素内容已替换)| Bound template with resolved content</returns>
ReportTemplate Bind(ReportTemplate template, ReportContext context);
}
}