Interface ISelectionCandidateProvider
- Namespace
- ZeroInstall.Services.Solvers
- Assembly
- ZeroInstall.Services.dll
Generates SelectionCandidates for ISolvers to choose among.
public interface ISelectionCandidateProvider
Remarks
Implementations of this interface may perform in-memory caching and are thread-safe.
Properties
FailedFeeds
A list of feeds that could not be downloaded along with the exceptions describing the problems.
IReadOnlyDictionary<FeedUri, Exception> FailedFeeds { get; }
Property Value
Methods
Clear()
Clears any in-memory caches.
void Clear()
GetSortedCandidates(Requirements)
Gets all SelectionCandidates for a specific set of Requirements sorted from best to worst.
IReadOnlyList<SelectionCandidate> GetSortedCandidates(Requirements requirements)
Parameters
requirements
Requirements
Returns
LookupOriginalImplementation(ImplementationSelection)
Retrieves the original Implementation an ImplementationSelection was based ofF.
Implementation LookupOriginalImplementation(ImplementationSelection implementationSelection)
Parameters
implementationSelection
ImplementationSelection
Returns
Exceptions
- KeyNotFoundException
The
implementationSelection
was not provided by GetSortedCandidates(Requirements).