C# Class ZeroInstall.Services.Solvers.SolverUtils

Helper functions for ISolver implementations.
显示文件 Open project: 0install/0install-win

Public Methods

Method Description
AddDependencies ( [ target, [ requirements, [ from ) : void

Transfers Dependencys from one IDependencyContainer to another.

PurgeRestrictions ( [ selections ) : void

Removes all Restrictions from Selections.

Private Methods

Method Description
AddCommand ( [ selection, [ requirements, [ @from ) : Command
Contains ( [ candidates, [ implementation ) : bool
CopyVersionRestrictions ( [ requirements, [ from ) : void
GetEffective ( [ requirements ) : IEnumerable
ToBindingRequirements ( [ bindingContainer, [ interfaceUri ) : IEnumerable
ToRequirements ( [ dependency, [ topLevelRequirements ) : Requirements
ToSelection ( [ candidate, [ allCandidates, [ requirements ) : ImplementationSelection

Method Details

AddDependencies() public static method

Transfers Dependencys from one IDependencyContainer to another.
public static AddDependencies ( [ target, [ requirements, [ from ) : void
target [ The to add the s to.
requirements [ The requirements which restrict which s are applicable.
from [ The to get the s to.
return void

PurgeRestrictions() public static method

Removes all Restrictions from Selections.
public static PurgeRestrictions ( [ selections ) : void
selections [
return void