ProjectFunctions Class

Summary

Class which provides NAnt functions for retrieving project information.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions
Base Types
graph BT Type-->Base0["FunctionSetBase"] click Base0 "/api/NAnt.Core/FunctionSetBase" Base0-->Base1["Object"] Type["ProjectFunctions"] class Type type-node

Syntax

[FunctionSet("project", "NAnt")]
public class ProjectFunctions : FunctionSetBase

Attributes

Type Description
FunctionSetAttribute Indicates that class should be treated as a set of functions.

Constructors

Name Summary
ProjectFunctions(Project, PropertyDictionary) Initializes a new instance of the NAnt.Core.Functions.ProjectFunctions 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
GetBaseDirectory() string
Gets the base directory of the current project.
GetBuildFilePath() string
Gets the local path to the build file.
GetBuildFileUri() string
Gets the System.Uri form of the build file.
GetDefaultTarget() string
Gets the name of the target that will be executed when no other build targets are specified.
GetName() string
Gets the name of the current project.