Interface IReportTemplate
Provides methods for template loading and report creation.
Namespace: Sartorius.SAF.ReportGenerator
Assembly: Sartorius.SAF.ReportGenerator.dll
Syntax
[InheritedExport]
public interface IReportTemplate
Properties
View SourceDescription
Gets the localized report description.
Declaration
string Description { get; }
Property Value
Type | Description |
---|---|
System.String |
Id
Gets the report id.
Declaration
Guid Id { get; }
Property Value
Type | Description |
---|---|
System.Guid |
Name
Gets the localized report name.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
ReportCultures
Gets the list of actual report languages / cultures.
Declaration
IEnumerable<CultureInfo> ReportCultures { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Globalization.CultureInfo> |
Methods
View SourceCreateReportInstance()
Creates an instance of the report defined by the IReportTemplate.
Declaration
IReportInstance<IReportTemplate> CreateReportInstance()
Returns
Type | Description |
---|---|
IReportInstance<IReportTemplate> | An instance of the report that can be used to collect data and create a report document. |