Summary
Class which provides NAnt functions for retrieving target information.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Functions - Base Types
-
- Object
- FunctionSetBase
graph BT
Type-->Base0["FunctionSetBase"]
click Base0 "/api/NAnt.Core/FunctionSetBase"
Base0-->Base1["Object"]
Type["TargetFunctions"]
class Type type-node
Syntax
[FunctionSet("target", "NAnt")]
public class TargetFunctions : FunctionSetBase
Attributes
Type | Description |
---|---|
FunctionSetAttribute | Indicates that class should be treated as a set of functions. |
Constructors
Name | Summary |
---|---|
TargetFunctions |
Initializes a new instance of the NAnt.Core.Functions.TargetFunctions class.
|
Properties
Name | Value | Summary |
---|---|---|
Project | Project |
Gets or sets the
NAnt.Core.FunctionSetBase.Project that this functionset will
reference.
Inherited from FunctionSetBase
|
Methods
Name | Value | Summary |
---|---|---|
Exists |
bool |
Checks whether the specified target exists.
|
GetCurrentTarget |
string |
Gets the name of the target being executed.
|
HasExecuted |
bool |
Checks whether the specified target has already been executed.
|