using XP.ReportEngine.Models;
namespace XP.ReportEngine.Interfaces
{
///
/// 数据绑定器接口 | Data binder interface
///
public interface IDataBinder
{
///
/// 将上下文数据绑定到模板 | Bind context data to template
///
/// 报告模板 | Report template
/// 报告上下文 | Report context
/// 绑定后的模板(元素内容已替换)| Bound template with resolved content
ReportTemplate Bind(ReportTemplate template, ReportContext context);
}
}