Zero Install .NET API 2.20.0
ZeroInstall.Publish.ImplementationExtensions Class Reference

Helpers for setting missing properties on Implementations. More...

Static Public Member Functions

static void SetMissing (this Implementation implementation, ICommandExecutor executor, ITaskHandler handler)
 Sets missing properties on the implementation by downloading and inferring. More...
 

Detailed Description

Helpers for setting missing properties on Implementations.

Member Function Documentation

◆ SetMissing()

static void ZeroInstall.Publish.ImplementationExtensions.SetMissing ( this Implementation  implementation,
ICommandExecutor  executor,
ITaskHandler  handler 
)
inlinestatic

Sets missing properties on the implementation by downloading and inferring.

Parameters
implementationThe implementation.
executorUsed to modify properties in an undoable fashion.
handlerA callback object used when the the user is to be informed about progress.
Exceptions
OperationCanceledExceptionThe user canceled the task.
WebExceptionA file could not be downloaded from the internet.
DigestMismatchExceptionAn existing digest does not match the newly calculated one.

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