Summary
Obsolete class which provides NAnt functions to convert data types.
- 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["ConversionFunctions"]
class Type type-node
Syntax
[FunctionSet("convert", "Conversion")]
public class ConversionFunctions : FunctionSetBase
Attributes
| Type | Description |
|---|---|
| FunctionSetAttribute | Indicates that class should be treated as a set of functions. |
Constructors
| Name | Summary |
|---|---|
| ConversionFunctions |
Initializes a new instance of the NAnt.Core.Functions.ConversionFunctions 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 |
|---|---|---|
| ConvertToString |
string |
Converts the argument to a string.
static
|
| ToBoolean |
bool |
Converts the argument to a boolean
static
|
| ToDateTime |
DateTime |
Converts the argument to a datetime.
static
|
| ToDouble |
double |
Converts the argument to double
static
|
| ToInt |
int |
Converts the argument to an integer.
static
|
