Interface ISolver
- Namespace
- ZeroInstall.Services.Solvers
- Assembly
- ZeroInstall.Services.dll
Chooses a set of Implementations to satisfy the requirements of a program and its user.
public interface ISolver
- Extension Methods
Remarks
Implementations of this interface are immutable and thread-safe.
Methods
Solve(Requirements)
Provides Selections that satisfy a set of Requirements.
Selections Solve(Requirements requirements)
Parameters
requirements
RequirementsThe requirements to satisfy.
Returns
- Selections
The selected ImplementationSelections.
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.- IOException
A problem occurred while reading the feed file.
- WebException
A problem occurred while fetching the feed file.
- UnauthorizedAccessException
Access to the cache is not permitted.
- SignatureException
The signature data of a remote feed file could not be verified.
- SolverException
The solver was unable to provide Selections that fulfill the
requirements
.