C# Класс ZeroInstall.Services.Solvers.ExternalSolver

Uses an external process controlled via a IPC to solve requirements. The external process is itself provided by another ISolver.
This class is immutable and thread-safe.
Наследование: ISolver
Показать файл Открыть проект

Открытые методы

Метод Описание
ExternalSolver ( [ backingSolver, [ selectionsManager, [ fetcher, [ executor, [ config, [ feedManager, [ handler ) : System

Creates a new external JSON solver.

Solve ( Requirements requirements ) : Selections

Приватные методы

Метод Описание
DoConfirm ( string message ) : string
DoConfirmKeys ( FeedUri feedUri, string[][]>.Dictionary keys ) : string
GetEffectiveRequirements ( Requirements requirements ) : Requirements
GetStartInfo ( ) : ProcessStartInfo

Описание методов

ExternalSolver() публичный Метод

Creates a new external JSON solver.
public ExternalSolver ( [ backingSolver, [ selectionsManager, [ fetcher, [ executor, [ config, [ feedManager, [ handler ) : System
backingSolver [ An internal solver used to find an implementation of the external solver.
selectionsManager [ Used to check whether the external solver is already in the cache.
fetcher [ Used to download implementations of the external solver.
executor [ Used to launch the external solver.
config [ User settings controlling network behaviour, solving, etc.
feedManager [ Provides access to remote and local s. Handles downloading, signature verification and caching.
handler [ A callback object used when the the user needs to be asked questions or informed about download and IO tasks.
Результат System

Solve() публичный Метод

public Solve ( Requirements requirements ) : Selections
requirements Requirements
Результат Selections