Zero Install .NET API 2.20.0
ZeroInstall.Services.Native.PackageManagerBase Class Referenceabstract

Base class for IPackageManager implementations using template methods. More...

Inheritance diagram for ZeroInstall.Services.Native.PackageManagerBase:
ZeroInstall.Services.Native.IPackageManager ZeroInstall.Services.Native.WindowsPackageManager

Public Member Functions

IEnumerable< ExternalImplementationQuery (PackageImplementation package, params string[] distributions)
 Queries the package manager for all ExternalImplementations that match a specific PackageImplementation definition. More...
 
ExternalImplementation Lookup (ImplementationSelection selection)
 Looks up the specific ExternalImplementation an ImplementationSelection was based on. More...
 

Protected Member Functions

abstract IEnumerable< ExternalImplementationGetImplementations (string packageName)
 Retrieves a set of specific native implementations for a package name. More...
 

Properties

abstract string DistributionName [get]
 The name of the PackageImplementation.Distributions this package manager provides packages for.
 

Detailed Description

Base class for IPackageManager implementations using template methods.

This class is immutable and thread-safe.

Member Function Documentation

◆ GetImplementations()

abstract IEnumerable< ExternalImplementation > ZeroInstall.Services.Native.PackageManagerBase.GetImplementations ( string  packageName)
protectedpure virtual

Retrieves a set of specific native implementations for a package name.

Parameters
packageNameThe name of the package to look for.

Implemented in ZeroInstall.Services.Native.WindowsPackageManager.

◆ Lookup()

ExternalImplementation ZeroInstall.Services.Native.PackageManagerBase.Lookup ( ImplementationSelection  selection)
inline

Looks up the specific ExternalImplementation an ImplementationSelection was based on.

Implements ZeroInstall.Services.Native.IPackageManager.

◆ Query()

IEnumerable< ExternalImplementation > ZeroInstall.Services.Native.PackageManagerBase.Query ( PackageImplementation  package,
params string[]  distributions 
)
inline

Queries the package manager for all ExternalImplementations that match a specific PackageImplementation definition.

Implements ZeroInstall.Services.Native.IPackageManager.


The documentation for this class was generated from the following file: