Summary
Functions that return information about an operating system.
- 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["OperatingSystemFunctions"]
class Type type-node
Syntax
[FunctionSet("operating-system", "Operating System")]
public class OperatingSystemFunctions : FunctionSetBase
Attributes
| Type | Description |
|---|---|
| FunctionSetAttribute | Indicates that class should be treated as a set of functions. |
Constructors
| Name | Summary |
|---|---|
| Operating |
Initializes a new instance of the NAnt.Core.Functions.OperatingSystemFunctions 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 |
|---|---|---|
| GetPlatform |
PlatformID |
Gets a
System.PlatformID value that identifies the operating
system platform.
static
|
| GetVersion |
Version |
Gets a
System.Version object that identifies this operating
system.
static
|
| ToString |
string |
Converts the value of the specified operating system to its equivalent
string representation.
static
|
