OpenTAP 9.27
API Reference
Static Public Member Functions | List of all members
OpenTap.Package.IPackageIdentifierExtensions Class Reference

Extensions to IPackageIdentifier. More...

Static Public Member Functions

static bool IsPlatformCompatible (this IPackageIdentifier pkg, CpuArchitecture selectedArch=CpuArchitecture.Unspecified, string selectedOS=null)
 True if this package is compatible (can be installed on) the specified operating system and architecture More...
 

Detailed Description

Extensions to IPackageIdentifier.

Member Function Documentation

◆ IsPlatformCompatible()

static bool OpenTap.Package.IPackageIdentifierExtensions.IsPlatformCompatible ( this IPackageIdentifier  pkg,
CpuArchitecture  selectedArch = CpuArchitecture.Unspecified,
string  selectedOS = null 
)
inlinestatic

True if this package is compatible (can be installed on) the specified operating system and architecture

Parameters
pkg
selectedArchSpecifies a CPU architecture. If unspecified, the current host architecture is used.
selectedOSSpecifies an operating system. If null, the current host operating system is used.
Returns

OpenTAP 9.27 API built Wed Nov 27 2024 13:14:46