GenericIssueReportFormatAliases.

GenericIssueReportFormat(ICakeContext, GenericIssueReportFormatSettings) Method

Summary

Gets an instance of the generic report format using specified settings.

Syntax

public static IIssueReportFormat GenericIssueReportFormat(this ICakeContext context, GenericIssueReportFormatSettings settings)

Examples

Create HTML report:

 var settings =
         GenericIssueReportFormatSettings
             .FromEmbeddedTemplate(GenericIssueReportTemplate.HtmlDiagnostic);

     CreateIssueReport(
         issues,
         GenericIssueReportFormat(settings),
         @"c:\repo",
         @"c:\report.html");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
settings GenericIssueReportFormatSettings Settings for reading the MSBuild log.

Return Value

Type Description
IIssueReportFormat Instance of the generic report format.