ToolSettingsExtensions.

With<T>(ITargetDefinition, T, Func<ITargetDefinition, T, ITargetDefinition>) 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, T value, Func<ITargetDefinition, T, ITargetDefinition> func)

Type Parameters

Name Description
T The value type.

Parameters

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

Return Value

Type Description
ITargetDefinition The target definition.