Class ReportConverter
- Namespace
- CSF.Screenplay.JsonToHtmlReport
- Assembly
- CSF.Screenplay.JsonToHtmlReport.dll
Provides functionality to convert JSON reports to HTML format.
public class ReportConverter : IConvertsReportJsonToHtml
- Inheritance
-
ReportConverter
- Implements
- Inherited Members
Constructors
ReportConverter(IGetsHtmlTemplate)
Initializes a new instance of the ReportConverter class.
public ReportConverter(IGetsHtmlTemplate templateReader)
Parameters
templateReader
IGetsHtmlTemplateThe template reader used to get the HTML template.
Methods
ConvertAsync(ReportConverterOptions)
Converts the JSON Screenplay report data to HTML asynchronously.
public Task ConvertAsync(ReportConverterOptions options)
Parameters
options
ReportConverterOptionsThe options for the report conversion.
Returns
- Task
A task that represents the asynchronous operation.