StylecopAlias.

StyleCopReport(ICakeContext, ReportSettingsDelegate) Method

Summary

Generates summary report from a stylecop execution.
Assembly
Cake.StyleCop.dll
Namespace
Cake.Stylecop
Containing Type
StylecopAlias

Syntax

public static void StyleCopReport(this ICakeContext context, ReportSettingsDelegate settingsDelegate)

Examples

StyleCopAnalyse(settings => settings
    .WithSolution(solutionFile)
    .WithSettings(settingsFile)
    .ToResultFile(resultFile)
);

StyleCopReport(settings => settings
    .ToHtmlReport(htmlFile)
    .AddResultFiles(resultFiles)
); 

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
settingsDelegate ReportSettingsDelegate Report generation settings.

Return Value

Type Description
void