Zero Install .NET API 2.20.0
ZeroInstall.Services.ISelectionsManager Interface Reference

Provides methods for filtering Selections. More...

Inheritance diagram for ZeroInstall.Services.ISelectionsManager:
ZeroInstall.Services.SelectionsManager

Public Member Functions

IEnumerable< ImplementationSelectionGetUncachedSelections (Selections selections)
 Returns a list of any downloadable ImplementationSelections that are missing from an IImplementationStore. More...
 
IEnumerable< ImplementationGetImplementations (IEnumerable< ImplementationSelection > selections)
 Retrieves the original Implementations these selections were based on. More...
 
NamedCollection< SelectionsTreeNode > GetTree (Selections selections)
 Generates a tree representation of the dependencies within the selections. More...
 
IEnumerable< SelectionsDiffNodeGetDiff (Selections oldSelections, Selections newSelections)
 Generates a list of differences between two selections. More...
 

Detailed Description

Provides methods for filtering Selections.

Implementations of this interface are immutable and thread-safe.

Member Function Documentation

◆ GetDiff()

IEnumerable< SelectionsDiffNode > ZeroInstall.Services.ISelectionsManager.GetDiff ( Selections  oldSelections,
Selections  newSelections 
)

Generates a list of differences between two selections.

Parameters
oldSelectionsThe old selections to base the comparison on.
newSelectionsThe new selections to compare against.

Implemented in ZeroInstall.Services.SelectionsManager.

◆ GetImplementations()

IEnumerable< Implementation > ZeroInstall.Services.ISelectionsManager.GetImplementations ( IEnumerable< ImplementationSelection selections)

Retrieves the original Implementations these selections were based on.

Parameters
selectionsThe ImplementationSelections to map back to Implementations.

Implemented in ZeroInstall.Services.SelectionsManager.

◆ GetTree()

NamedCollection< SelectionsTreeNode > ZeroInstall.Services.ISelectionsManager.GetTree ( Selections  selections)

Generates a tree representation of the dependencies within the selections.

Implemented in ZeroInstall.Services.SelectionsManager.

◆ GetUncachedSelections()

IEnumerable< ImplementationSelection > ZeroInstall.Services.ISelectionsManager.GetUncachedSelections ( Selections  selections)

Returns a list of any downloadable ImplementationSelections that are missing from an IImplementationStore.

Parameters
selectionsThe selections to search for ImplementationSelections that are missing.

Feed files may be downloaded, no implementations are downloaded.

Exceptions
KeyNotFoundExceptionA Feed or Implementation is missing.
IOExceptionA problem occurred while reading the feed file.
UnauthorizedAccessExceptionRead access to the cache is not permitted.
InvalidDataExceptionThe feed file could not be parsed.

Implemented in ZeroInstall.Services.SelectionsManager.


The documentation for this interface was generated from the following file: