Свойство | Тип | Описание | |
---|---|---|---|
RuntimePlatforms | string |
Метод | Описание | |
---|---|---|
IsPlatformSupported ( PlatformAttribute platformAttribute ) : bool |
Tests to determine if the current platform is supported based on a platform attribute.
|
|
IsPlatformSupported ( TestCaseAttribute testCaseAttribute ) : bool |
Tests to determine if the current platform is supported based on a platform attribute.
|
|
IsPlatformSupported ( string platforms ) : bool |
Test to determine if one of a collection of platforms is being used currently.
|
|
PlatformHelper ( ) : System |
Default constructor uses the operating system and common language runtime of the system.
|
|
PlatformHelper ( |
Construct a PlatformHelper for a particular operating system and common language runtime. Used in testing.
|
Метод | Описание | |
---|---|---|
IsPlatformSupported ( string include, string exclude ) : bool | ||
IsRuntimeSupported ( |
||
IsRuntimeSupported ( string platformName ) : bool |
public IsPlatformSupported ( PlatformAttribute platformAttribute ) : bool | ||
platformAttribute | PlatformAttribute | The attribute to examine |
Результат | bool |
public IsPlatformSupported ( TestCaseAttribute testCaseAttribute ) : bool | ||
testCaseAttribute | TestCaseAttribute | The attribute to examine |
Результат | bool |
public IsPlatformSupported ( string platforms ) : bool | ||
platforms | string | |
Результат | bool |
public PlatformHelper ( |
||
os | OperatingSystem to be used | |
rt | RuntimeFramework to be used | |
Результат | System |