CleanupCodeTasks.

CleanupCode(CleanupCodeSettings) Method

Summary

CleanupCode is a free command-line tool that can perform code cleanup to instantly eliminate code style violations in a project or solution and ensure a uniform code base.

For more details, visit the official website.

Assembly
Rocket.Surgery.Nuke.dll
Namespace
Temp.CleanupCode
Containing Type
CleanupCodeTasks

Syntax

public static IReadOnlyCollection<Output> CleanupCode(CleanupCodeSettings toolSettings = null)

Remarks

This is a CLI wrapper with fluent API that allows to modify the following arguments:

  • <targetPath> via
  • --caches-home via
  • --disable-settings-layers via
  • --dotnetcore via
  • --exclude via
  • --include via
  • --mono via
  • --no-buildin-settings via
  • --profile via
  • --project via
  • --properties via
  • --toolset via

Parameters

Name Type Description
toolSettings CleanupCodeSettings

Return Value

Type Description
IReadOnlyCollection<Output>