Summary
Gets a System.PlatformID
value that identifies the operating
system platform.
Syntax
[Function("get-platform")]
public static PlatformID GetPlatform(OperatingSystem operatingSystem)
Attributes
Type |
Description |
FunctionAttribute |
Indicates that the method should be exposed as a function in NAnt build
files.
|
Parameters
Name |
Type |
Description |
operatingSystem |
OperatingSystem |
The operating system. |
Return Value
Type |
Description |
PlatformID |
System.PlatformID value that identifies the operating system
platform.
|
See Also
- NAnt.Core.Functions.EnvironmentFunctions.GetOperatingSystem