Table of Contents

Class CacheNodeBuilder

Namespace
ZeroInstall.Store.ViewModel
Assembly
ZeroInstall.Store.dll

Builds CacheNodes for Feeds and Implementations.

public sealed class CacheNodeBuilder
Inheritance
CacheNodeBuilder
Inherited Members

Constructors

CacheNodeBuilder(ITaskHandler, IFeedCache, IImplementationStore?)

Creates a new cache node builder.

public CacheNodeBuilder(ITaskHandler handler, IFeedCache feedCache, IImplementationStore? implementationStore = null)

Parameters

handler ITaskHandler

A callback object used when the the user needs to be informed about IO tasks.

feedCache IFeedCache

Used to get local feed files.

implementationStore IImplementationStore

Used to get cached implementations. Leave unset to only list feeds.

Methods

Build()

Builds a list of CacheNodes for Feeds and Implementations.

public NamedCollection<CacheNode> Build()

Returns

NamedCollection<CacheNode>

Exceptions

IOException

A problem occurred while reading from a cache.

UnauthorizedAccessException

Read access to a cache is not permitted.