GenericIssueReportFormatAliases.

GenericIssueReportFormatFromFilePath(ICakeContext, FilePath) Method

Summary

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

Syntax

public static IIssueReportFormat GenericIssueReportFormatFromFilePath(this ICakeContext context, FilePath templatePath)

Examples

Create HTML report from local template file:

CreateIssueReport(
        issues,
        GenericIssueReportFormatFromFilePath(@"c:\ReportTemplate.cshtml"),
        @"c:\repo",
        @"c:\report.html");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
templatePath FilePath Path to the template to use for generating the report.

Return Value

Type Description
IIssueReportFormat Instance of a the generic report format.
GitHub