NUnit.Framework.Internal.PlatformHelper Members

The members of NUnit.Framework.Internal.PlatformHelper are listed below.

See Also: Inherited members from System.Object

Public Constructors

Default constructor uses the operating system and common language runtime of the system.
Contruct a PlatformHelper for a particular operating system and common language runtime. Used in testing.

Public Fields

static readonly
OSPlatformsstring. Comma-delimited list of all supported OS platform constants
static readonly
RuntimePlatformsstring. Comma-delimited list of all supported Runtime platform constants

Public Properties

[read-only]
Reasonstring. Return the last failure reason. Results are not defined if called before IsSupported( Attribute ) is called.

Public Methods

IsPlatformSupported(string) : bool
Test to determine if the a particular platform or comma- delimited set of platforms is in use.
IsPlatformSupported(string[]) : bool
Test to determine if one of a collection of platforms is being used currently.
IsPlatformSupported(Xamarin.iOS.dll=NUnit.Framework.PlatformAttribute) : bool
Tests to determine if the current platform is supported based on a platform attribute.