OpenTAP 9.25
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.25 API built Tue Aug 6 2024 07:49:25