Summary
Class which provides NAnt functions for working with version objects.
- 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["VersionFunctions"]
class Type type-node
Syntax
[FunctionSet("version", "Version")]
public class VersionFunctions : FunctionSetBase
Attributes
Type | Description |
---|---|
FunctionSetAttribute | Indicates that class should be treated as a set of functions. |
Constructors
Name | Summary |
---|---|
VersionFunctions |
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 |
---|---|---|
GetBuild |
int |
Gets the value of the build component of a given version.
static
|
GetMajor |
int |
Gets the value of the major component of a given version.
static
|
GetMinor |
int |
Gets the value of the minor component of a given version.
static
|
GetRevision |
int |
Gets the value of the revision component of a given version.
static
|