DupFinderAliases.

DupFinder(ICakeContext, GlobPattern, DupFinderSettings) Method

Summary

Analyses all files matching the specified pattern with ReSharper's DupFinder, using the specified settings.
Namespace
Cake.Common.Tools.DupFinder
Containing Type
DupFinderAliases

Syntax

[CakeMethodAlias]
[CakeAliasCategory("DupFinder")]
public static void DupFinder(this ICakeContext context, GlobPattern pattern, DupFinderSettings settings)

Examples

 var buildOutputDirectory = Directory("./.build");
 var resharperReportsDirectory = buildOutputDirectory + Directory("_ReSharperReports");

 DupFinder("*.cs", new DupFinderSettings {
     OutputFile = resharperReportsDirectory + File("dupfinder-output.xml"),
 });

Attributes

Type Description
CakeMethodAliasAttribute An attribute used to mark script method aliases.
CakeAliasCategoryAttribute An attribute used for documentation of alias methods/properties.

Parameters

Name Type Description
context ICakeContext The context.
pattern GlobPattern The pattern.
settings DupFinderSettings The settings.

Return Value

Type Description
void