GenericIssueReportFormatAliases.

GenericIssueReportFormatFromEmbeddedTemplate(ICakeContext, GenericIssueReportTemplate) Method

Summary

Gets an instance of 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 the generic report format.