TargetFunctions.

HasExecuted(string) Method

Summary

Checks whether the specified target has already been executed.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions
Containing Type
TargetFunctions

Syntax

[Function("has-executed")]
public bool HasExecuted(string name)

Attributes

Type Description
FunctionAttribute Indicates that the method should be exposed as a function in NAnt build files.

Parameters

Name Type Description
name string The target to test.

Return Value

Type Description
bool true if the specified target has already been executed; otherwise, false.