Table of Contents

Class FeedMerge

Namespace
ZeroInstall.Publish.Merging
Assembly
ZeroInstall.Publish.dll

Merges Implementations from one Feed into another.

public static class FeedMerge
Inheritance
object
FeedMerge

Remarks

Each incoming implementation is placed in the most sensible existing Group, so that Dependencys, Commands and attributes are not duplicated unnecessarily.

Methods

AddFrom(Feed, Feed, ICommandExecutor)

Adds all Implementations from another feed to this feed.

public static void AddFrom(this Feed master, Feed local, ICommandExecutor executor)

Parameters

master Feed

The feed to add the implementations to.

local Feed

The feed to take the implementations from. Not modified.

executor ICommandExecutor

Used to modify master in an undoable fashion.

Exceptions

InvalidDataException

An implementation with the same ID is already present.