Class ImplementationExtensions
- Namespace
- ZeroInstall.Publish
- Assembly
- ZeroInstall.Publish.dll
Helpers for setting missing properties on Implementations.
public static class ImplementationExtensions
- Inheritance
-
ImplementationExtensions
- Inherited Members
Methods
SetMissing(Implementation, ICommandExecutor, ITaskHandler)
Sets missing properties on the implementation by downloading and inferring.
public static void SetMissing(this Implementation implementation, ICommandExecutor executor, ITaskHandler handler)
Parameters
implementation
ImplementationThe implementation.
executor
ICommandExecutorUsed to modify properties in an undoable fashion.
handler
ITaskHandlerA callback object used when the user is to be informed about progress.
Exceptions
- 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.