报告XP.ReportEngine基础类设计和接口开发。
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using System.Threading.Tasks;
|
||||
using XP.ReportEngine.Models;
|
||||
|
||||
namespace XP.ReportEngine.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// 报告生成器接口(格式无关)| Report generator interface (format-agnostic)
|
||||
/// </summary>
|
||||
public interface IReportGenerator
|
||||
{
|
||||
/// <summary>
|
||||
/// 异步生成报告 | Generate report asynchronously
|
||||
/// </summary>
|
||||
/// <param name="context">报告上下文数据 | Report context data</param>
|
||||
/// <param name="options">生成选项 | Generation options</param>
|
||||
/// <returns>生成结果 | Generation result</returns>
|
||||
Task<ReportResult> GenerateAsync(ReportContext context, ReportGenerationOptions options);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user