PathFunctions Class

Summary

Class which provides NAnt functions to work with path strings.
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["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(Project, PropertyDictionary) 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, string) string
Changes the extension of the path string.
static
Combine(string, string) string
Combines two paths.
static
GetDirectoryName(string) string
Returns the directory information for the specified path string.
static
GetExtension(string) string
Returns the extension for the specified path string.
static
GetFileName(string) string
Returns the filename for the specified path string.
static
GetFileNameWithoutExtension(string) string
Returns the filename without extension for the specified path string.
static
GetFullPath(string) string
Returns the fully qualified path.
GetPathRoot(string) 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(string) bool
Determines whether a path string includes an extension.
static
IsPathRooted(string) bool
Determines whether a path string is absolute.
static