Summary
Class which provides NAnt functions for converting strings to version objects and vice versa.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Functions - Base Types
-
- Object
- FunctionSetBase
Syntax
[FunctionSet("version", "Conversion")]
public class VersionConversionFunctions : FunctionSetBase
Attributes
Type | Description |
---|---|
FunctionSetAttribute | Indicates that class should be treated as a set of functions. |
Constructors
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 |
---|---|---|
Parse |
Version |
Converts the specified string representation of a version to
its
System.Version equivalent.
static
|
ToString |
string |
Converts the specified
System.Version to its equivalent
string representation.
static
|