Summary
Class which provides NAnt functions to work with path strings.
- 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["PathFunctions"]
class Type type-node
Syntax
[FunctionSet("path", "Path")]
public class PathFunctions : FunctionSetBase
Attributes
Type | Description |
---|---|
FunctionSetAttribute | Indicates that class should be treated as a set of functions. |
Constructors
Name | Summary |
---|---|
PathFunctions |
Initializes a new instance of the NAnt.Core.Functions.PathFunctions 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 |
---|---|---|
ChangeExtension |
string |
Changes the extension of the path string.
static
|
Combine |
string |
Combines two paths.
static
|
GetDirectoryName |
string |
Returns the directory information for the specified path string.
static
|
GetExtension |
string |
Returns the extension for the specified path string.
static
|
GetFileName |
string |
Returns the filename for the specified path string.
static
|
Get |
string |
Returns the filename without extension for the specified path string.
static
|
GetFullPath |
string |
Returns the fully qualified path.
|
GetPathRoot |
string |
Gets the root directory of the specified path.
static
|
GetTempFileName |
string |
Returns a uniquely named zero-byte temporary file on disk and returns the full path to that file.
static
|
GetTempPath |
string |
Gets the path to the temporary directory.
static
|
HasExtension |
bool |
Determines whether a path string includes an extension.
static
|
IsPathRooted |
bool |
Determines whether a path string is absolute.
static
|