GenericIssueReportFormatAliases.

GenericIssueReportFormatFromEmbeddedTemplate(ICakeContext, GenericIssueReportTemplate) Method

Summary

Gets an instance of a the generic report format using an embedded template.

Syntax

public static IIssueReportFormat GenericIssueReportFormatFromEmbeddedTemplate(this ICakeContext context, GenericIssueReportTemplate template)

Examples

Create HTML report using the diagnostic template:

CreateIssueReport(
        issues,
        GenericIssueReportFormatFromEmbeddedTemplate(GenericIssueReportTemplate.HtmlDiagnostic),
        @"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.

Return Value

Type Description
IIssueReportFormat Instance of a the generic report format.