Summary
Class which provides NAnt functions to retrieve information about the current framework environment.
- 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["FrameworkFunctions"]
class Type type-node
Syntax
[FunctionSet("framework", "NAnt")]
public class FrameworkFunctions : FunctionSetBase
Attributes
Type | Description |
---|---|
FunctionSetAttribute | Indicates that class should be treated as a set of functions. |
Constructors
Name | Summary |
---|---|
FrameworkFunctions |
Initializes a new instance of the NAnt.Core.Functions.FrameworkFunctions 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 framework exists, and is valid.
|
GetAssemblyDirectory |
string |
Gets the assembly directory of the specified framework.
|
GetClrVersion |
Version |
Gets the Common Language Runtime version of the current target
framework.
|
GetClrVersion |
Version |
Gets the Common Language Runtime version of the specified framework.
|
GetDescription |
string |
Gets the description of the current target framework.
|
GetDescription |
string |
Gets the description of the specified framework.
|
GetFamily |
string |
Gets the family of the specified framework.
|
Get |
string |
Gets the framework directory of the specified framework.
|
GetFrameworks |
string |
Gets a comma-separated list of frameworks filtered by the specified
NAnt.Core.FrameworkTypes .
|
GetRuntimeEngine |
string |
Gets the runtime engine of the specified framework.
|
GetRuntimeFramework |
string |
Gets the identifier of the runtime framework.
|
GetSdkDirectory |
string |
Gets the SDK directory of the specified framework.
|
GetTargetFramework |
string |
Gets the identifier of the current target framework.
|
GetToolPath |
string |
Gets the absolute path of the specified tool for the current
target framework.
|
GetVersion |
Version |
Gets the version of the current target framework.
|
GetVersion |
Version |
Gets the version of the specified framework.
|
SdkExists |
bool |
Checks whether the SDK for the specified framework is installed.
|