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

Uniquely identifies a package in the OpenTAP package system. More...

Inheritance diagram for OpenTap.Package.PackageIdentifier:
OpenTap.Package.IPackageIdentifier OpenTap.Package.PackageDef OpenTap.Package.PackageVersion

Public Member Functions

 PackageIdentifier (string packageName, string version, CpuArchitecture architecture, string os)
 Creates a package identifier More...
 
 PackageIdentifier (string packageName, SemanticVersion version, CpuArchitecture architecture, string os)
 Creates a package identifier More...
 
 PackageIdentifier (IPackageIdentifier packageIdentifier)
 Creates a package identifier from another IPackageIdentifier
 
override int GetHashCode ()
 Returns the hash code for this PackageIdentifier. More...
 
override bool Equals (object obj)
 Compare this PackageIdentifier to another object.
 

Properties

string Name [getset]
 Name of the package to which this object refers.
 
SemanticVersion Version [getset]
 The Semantic Version compliant version of the package.
 
CpuArchitecture Architecture [getset]
 CPU Architecture
 
string OS [getset]
 The operating system that this package supports
 
- Properties inherited from OpenTap.Package.IPackageIdentifier
string Name [get]
 The name of the package.
 
SemanticVersion Version [get]
 The Semantic Version compliant version of the package.
 
CpuArchitecture Architecture [get]
 The CPU Architechture of the package.
 
string OS [get]
 Comma seperated list of operating systems that this package can run on.
 

Detailed Description

Uniquely identifies a package in the OpenTAP package system.

Constructor & Destructor Documentation

◆ PackageIdentifier() [1/2]

OpenTap.Package.PackageIdentifier.PackageIdentifier ( string  packageName,
string  version,
CpuArchitecture  architecture,
string  os 
)
inline

Creates a package identifier

Parameters
packageNameName of the package.
versionVersion of the package. This should be semver 2.0.0 compliant.
architectureCPU architechture supported by the package.
osOperating System supported by this package.

◆ PackageIdentifier() [2/2]

OpenTap.Package.PackageIdentifier.PackageIdentifier ( string  packageName,
SemanticVersion  version,
CpuArchitecture  architecture,
string  os 
)
inline

Creates a package identifier

Parameters
packageNameName of the package.
versionVersion of the package.
architectureCPU architechture supported by the package.
osOperating System supported by this package.

Member Function Documentation

◆ GetHashCode()

override int OpenTap.Package.PackageIdentifier.GetHashCode ( )
inline

Returns the hash code for this PackageIdentifier.

Returns

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