Table of Contents

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 IGetsHtmlTemplate

The 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 ReportConverterOptions

The options for the report conversion.

Returns

Task

A task that represents the asynchronous operation.