NAnt SDK Documentation - v0.92

PlatformFunctions Methods

The methods of the PlatformFunctions class are listed below. For a complete list of PlatformFunctions class members, see the PlatformFunctions Members topic.

Public Static (Shared) Methods

IsUnix Checks whether NAnt is running on Unix.
IsWin32Obsolete. Checks whether NAnt is running on Windows (and not just 32-bit Windows as the name may lead you to believe).
IsWindows Checks whether NAnt is running on Windows.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type.
GetName Gets the name of the platform on which NAnt is running.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

PlatformFunctions Class | NAnt.Core.Functions Namespace