Zero Install .NET API 2.20.0
ZeroInstall.Store.Implementations.IImplementationSink Interface Reference

Accepts implementations and stores them. More...

Inheritance diagram for ZeroInstall.Store.Implementations.IImplementationSink:
ZeroInstall.Store.Implementations.IImplementationStore ZeroInstall.Store.Implementations.ImplementationSink ZeroInstall.Store.Implementations.CompositeImplementationStore ZeroInstall.Store.Implementations.ImplementationStore ZeroInstall.Store.Implementations.ServiceImplementationStore ZeroInstall.Store.Implementations.ImplementationStore

Public Member Functions

void Add (ManifestDigest manifestDigest, [InstantHandle] Action< IBuilder > build)
 Adds a new implementation. More...
 

Detailed Description

Accepts implementations and stores them.

Member Function Documentation

◆ Add()

void ZeroInstall.Store.Implementations.IImplementationSink.Add ( ManifestDigest  manifestDigest,
[InstantHandle] Action< IBuilder build 
)

Adds a new implementation.

Parameters
manifestDigestThe digest the implementation is supposed to match.
buildCallback for building the implementation.
Exceptions
OperationCanceledExceptionThe user canceled the task.
ImplementationAlreadyInStoreExceptionThere is already an implementation with the specified manifestDigest in the store.
UnauthorizedAccessExceptionAccess to a resource was denied.
IOExceptionAn IO operation failed.
DigestMismatchExceptionThe implementation's content doesn't match the manifestDigest .

Implemented in ZeroInstall.Store.Implementations.CompositeImplementationStore, ZeroInstall.Store.Implementations.ImplementationSink, and ZeroInstall.Store.Implementations.ServiceImplementationStore.


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