ToolSettingsExtensions.

With<T>(ITargetDefinition, Func<ITargetDefinition, T, ITargetDefinition>, T) Method

Summary

Call a target definition in context of a build script

if the build scripts aren't setup correctly the nuke extensions will not detect them.

Syntax

public static ITargetDefinition With<T>(this ITargetDefinition target, Func<ITargetDefinition, T, ITargetDefinition> func, T value)

Attributes

Type Description
ObsoleteAttribute

Type Parameters

Name Description
T The value type.

Parameters

Name Type Description
target ITargetDefinition The target.
func Func<ITargetDefinition, T, ITargetDefinition> The function.
value T The value.

Return Value

Type Description
ITargetDefinition The target definition.