GenericIssueReportFormatAliases.

GenericIssueReportFormatFromEmbeddedTemplate(ICakeContext, GenericIssueReportTemplate, Action<GenericIssueReportFormatSettings>) Method

Summary

Gets an instance of the generic report format using an embedded template with custom settings.

Syntax

public static IIssueReportFormat GenericIssueReportFormatFromEmbeddedTemplate(this ICakeContext context, GenericIssueReportTemplate template, Action<GenericIssueReportFormatSettings> configurator)

Examples

Create HTML report using the HtmlDxDataGrid template with custom title:

CreateIssueReport(
        issues,
        GenericIssueReportFormatFromEmbeddedTemplate(
            GenericIssueReportTemplate.HtmlDxDataGrid,
            x => x.WithOption(HtmlDxDataGridOption.Title, "My Issue Report")),
        @"c:\repo",
        @"c:\report.html");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
template GenericIssueReportTemplate Template to use for generating the report.
configurator Action<GenericIssueReportFormatSettings> Action for defining the settings.

Return Value

Type Description
IIssueReportFormat Instance of the generic report format.