Skip to content

DefaultReportRenderer class

namespace: Serenity.Reporting   assembly: Serenity.Net.Web

Default implementation of IReportRenderer.

public class DefaultReportRenderer : IReportRenderer
parameter description
excelRenderer The Excel renderer.
htmlReportPdfRenderer The HTML report PDF renderer.
serviceProvider The service provider.
httpContextAccessor The HTTP context accessor.
localizer The text localizer.

Public Members

name description
DefaultReportRenderer(…) Default implementation of IReportRenderer.
Render(…)
RenderAsync(…)

Protected Members

name description
readonly excelRenderer The Excel renderer.
readonly htmlReportPdfRenderer The HTML report PDF renderer.
readonly httpContextAccessor The HTTP context accessor.
readonly serviceProvider The service provider.
virtual GetViewName(…) Gets the view name for the report.
virtual RenderAsHtml(…) Renders a report as HTML.
virtual RenderAsHtmlAsync(…) Renders a report as HTML, with its data from CancellationToken).
virtual RenderAsPdf(…) Renders an HTML report as PDF.
virtual RenderAsPdfAsync(…) Renders an HTML report as PDF asynchronously.
virtual RenderDataOnlyReport(…) Renders a data only report.
virtual RenderExternalReport(…) Renders an external report, generally returns a ReportRenderResult with a redirect URI.
RenderHtmlReport(…) Renders an HTML report.
virtual RenderStructuredReport(…) Renders a structured report with the IStructuredReportRenderer service.
virtual RenderStructuredReportAsync(…) Renders a structured report asynchronously with the IStructuredReportRenderer service.
virtual RenderUnknownFormat(…) Renders an unknown format. Can be overridden in derived classes.

Remarks

Initializes a new instance of the DefaultReportRenderer class.

See Also