ToolSettingsExtensions.

WithToolPath<T>(T, FilePath) Method

Summary

Sets the tool path.
Namespace
Cake.Core.Tooling
Containing Type
ToolSettingsExtensions

Syntax

public static T WithToolPath<T>(this T toolSettings, FilePath toolPath) where T : ToolSettings

Type Parameters

Name Description
T The ToolSettings type.

Parameters

Name Type Description
toolSettings T The tools settings.
toolPath FilePath The tool path.

Return Value

Type Description
T The tools settings.