Table of Contents

Class SelectionCandidateComparer

Namespace
ZeroInstall.Services.Solvers
Assembly
ZeroInstall.Services.dll
public sealed class SelectionCandidateComparer : IComparer<SelectionCandidate>
Inheritance
object
SelectionCandidateComparer
Implements

Constructors

SelectionCandidateComparer(Stability, NetworkLevel, LanguageSet, Predicate<Implementation>)

public SelectionCandidateComparer(Stability stabilityPolicy, NetworkLevel networkUse, LanguageSet languages, Predicate<Implementation> isCached)

Parameters

stabilityPolicy Stability

Implementations at this stability level or higher are preferred. Lower levels are used only if there is no other choice.

networkUse NetworkLevel

Controls how liberally network access is attempted.

languages LanguageSet

The preferred languages for the implementation.

isCached Predicate<Implementation>

sed to determine which implementations are already cached in the IImplementationStore.

Methods

Compare(SelectionCandidate?, SelectionCandidate?)

public int Compare(SelectionCandidate? x, SelectionCandidate? y)

Parameters

x SelectionCandidate
y SelectionCandidate

Returns

int