ToolSettingsExtensions.

WithWorkingDirectory<T>(T, DirectoryPath) Method

Summary

Sets the tool working directory.
Namespace
Cake.Core.Tooling
Containing Type
ToolSettingsExtensions

Syntax

public static T WithWorkingDirectory<T>(this T toolSettings, DirectoryPath workingDirectory) 
    where T : ToolSettings

Type Parameters

Name Description
T The ToolSettings type.

Parameters

Name Type Description
toolSettings T The tools settings.
workingDirectory DirectoryPath The tool working directory.

Return Value

Type Description
T The tools settings.