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