ToolSettingsExtensions.

WithArgumentCustomization<T>(T, Func<ProcessArgumentBuilder, ProcessArgumentBuilder>) Method

Summary

Sets the tool argument customization delegate.
Namespace
Cake.Core.Tooling
Containing Type
ToolSettingsExtensions

Syntax

public static T WithArgumentCustomization<T>(this T toolSettings, Func<ProcessArgumentBuilder, ProcessArgumentBuilder> argumentCustomization) 
    where T : ToolSettings

Type Parameters

Name Description
T The ToolSettings type.

Parameters

Name Type Description
toolSettings T The tools settings.
argumentCustomization Func<ProcessArgumentBuilder, ProcessArgumentBuilder> The tool argument customization delegate.

Return Value

Type Description
T The tools settings.