Show / Hide Table of Contents

Class ImplementationExtensions

Helpers for setting missing properties on Implementations.

Inheritance
Object
ImplementationExtensions
Namespace: ZeroInstall.Publish
Assembly: ZeroInstall.Publish.dll
Syntax
public static class ImplementationExtensions : Object

Methods

SetMissing(Implementation, ICommandExecutor, ITaskHandler)

Sets missing properties on the implementation by downloading and inferring.

Declaration
public static void SetMissing(this Implementation implementation, ICommandExecutor executor, ITaskHandler handler)
Parameters
Type Name Description
Implementation implementation

The implementation.

ICommandExecutor executor

Used to modify properties in an undoable fashion.

ITaskHandler handler

A callback object used when the the user is to be informed about progress.

Exceptions
Type Condition
OperationCanceledException

The user canceled the task.

WebException

A file could not be downloaded from the internet.

DigestMismatchException

An existing digest does not match the newly calculated one.

In This Article
Back to top Copyright Bastian Eicher et al