Show / Hide Table of Contents

Interface IReportFactory

Provides functionality to create reports.

Namespace: Sartorius.SAF.ReportGenerator
Assembly: Sartorius.SAF.ReportGenerator.dll
Syntax
public interface IReportFactory

Methods

View Source

CreateReportAsync(ReportOutputOptions, ReportContent, CultureInfo[])

Creates the report for the specified ReportContent asynchronously.

Declaration
Task<Stream> CreateReportAsync(ReportOutputOptions reportOutputOptions, ReportContent reportContent, params CultureInfo[] cultures)
Parameters
Type Name Description
ReportOutputOptions reportOutputOptions

The report output options.

ReportContent reportContent

The report content.

System.Globalization.CultureInfo[] cultures

The cultures for which to create the report. The first culture will be the default culture.

Returns
Type Description
System.Threading.Tasks.Task<System.IO.Stream>

A System.Threading.Tasks.Task representing the asynchronous operation. The System.Threading.Tasks.Task`1.Result property contains a System.IO.Stream with the created report content.

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX