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

Represents a version of a package. Objects of this type is returned byIPackageRepository.GetPackageVersions. More...

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

Public Member Functions

 PackageVersion (string name, SemanticVersion version, string os, CpuArchitecture architechture, DateTime date, List< string > licenses)
 Initializes a new instance of a PackageVersion.
 
bool Equals (PackageVersion other)
 Compares this PackageVersion with another.
 
- Public Member Functions inherited from OpenTap.Package.PackageIdentifier
 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

DateTime Date [getset]
 The date that the package was build.
 
List< string > Licenses [getset]
 License(s) required to use this package.
 
- Properties inherited from OpenTap.Package.PackageIdentifier
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

Represents a version of a package. Objects of this type is returned byIPackageRepository.GetPackageVersions.

OpenTAP 9.25 API built Tue Aug 6 2024 07:49:25