Table of Contents

Class SolverExtensions

Namespace
ZeroInstall.Services.Solvers
Assembly
ZeroInstall.Services.dll

Provides extension methods for ISolver.

public static class SolverExtensions
Inheritance
SolverExtensions
Inherited Members

Methods

TrySolve(ISolver, Requirements)

Provides Selections that satisfy a set of Requirements. Catches most exceptions and Logs them.

public static Selections? TrySolve(this ISolver solver, Requirements requirements)

Parameters

solver ISolver

The ISolver implementation.

requirements Requirements

A set of requirements/restrictions imposed by the user on the implementation selection process.

Returns

Selections

The ImplementationSelections chosen for the feed; null if there was a problem.

Remarks

Feed files may be downloaded, signature validation is performed, implementations are not downloaded.

Exceptions

OperationCanceledException

The user canceled the task.

ArgumentException

requirements is incomplete.