Zero Install .NET API 2.20.0
ZeroInstall.Services.Solvers.ISelectionCandidateProvider Interface Reference

Generates SelectionCandidates for ISolvers to choose among. More...

Inheritance diagram for ZeroInstall.Services.Solvers.ISelectionCandidateProvider:
ZeroInstall.Services.Solvers.SelectionCandidateProvider

Public Member Functions

IReadOnlyList< SelectionCandidateGetSortedCandidates (Requirements requirements)
 Gets all SelectionCandidates for a specific set of Requirements sorted from best to worst. More...
 
Implementation LookupOriginalImplementation (ImplementationSelection implementationSelection)
 Retrieves the original Implementation an ImplementationSelection was based ofF. More...
 
void Clear ()
 Clears any in-memory caches. More...
 

Detailed Description

Generates SelectionCandidates for ISolvers to choose among.

Implementations of this interface may perform in-memory caching and are thread-safe.

Member Function Documentation

◆ Clear()

void ZeroInstall.Services.Solvers.ISelectionCandidateProvider.Clear ( )

Clears any in-memory caches.

Implemented in ZeroInstall.Services.Solvers.SelectionCandidateProvider.

◆ GetSortedCandidates()

IReadOnlyList< SelectionCandidate > ZeroInstall.Services.Solvers.ISelectionCandidateProvider.GetSortedCandidates ( Requirements  requirements)

Gets all SelectionCandidates for a specific set of Requirements sorted from best to worst.

Implemented in ZeroInstall.Services.Solvers.SelectionCandidateProvider.

◆ LookupOriginalImplementation()

Implementation ZeroInstall.Services.Solvers.ISelectionCandidateProvider.LookupOriginalImplementation ( ImplementationSelection  implementationSelection)

Retrieves the original Implementation an ImplementationSelection was based ofF.

Exceptions
KeyNotFoundExceptionThe implementationSelection was not provided by GetSortedCandidates.

Implemented in ZeroInstall.Services.Solvers.SelectionCandidateProvider.


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