ReportUnitAliases.

ReportUnit(ICakeContext, FilePath, FilePath) Method

Summary

Converts the single specified report into human readable form and outputs to specified file.

Syntax

[CakeMethodAlias]
public static void ReportUnit(this ICakeContext context, FilePath inputFile, FilePath outputFile)

Examples

Provide both input and output file, which will causes ReportUnit to transform only the specific file, and output to the specified location.

Cake task:

ReportUnit("c:/temp/input", "c:/temp/output");

Attributes

Type Description
CakeMethodAliasAttribute An attribute used to mark script method aliases.

Parameters

Name Type Description
context ICakeContext The context.
inputFile FilePath The input file.
outputFile FilePath The output file.

Return Value

Type Description
void