Summary
Gets the name of the platform on which NAnt is running.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Functions - Containing Type
- PlatformFunctions
Syntax
[Function("get-name")]
public string GetName()
Attributes
Type | Description |
---|---|
FunctionAttribute | Indicates that the method should be exposed as a function in NAnt build files. |
Return Value
Type | Description |
---|---|
string | The name of the platform on which NAnt is running. |