Class FeedMerge
- Namespace
- ZeroInstall.Publish.Merging
- Assembly
- ZeroInstall.Publish.dll
Merges Implementations from one Feed into another.
public static class FeedMerge
- Inheritance
-
objectFeedMerge
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
masterFeedThe feed to add the implementations to.
localFeedThe feed to take the implementations from. Not modified.
executorICommandExecutorUsed to modify
masterin an undoable fashion.
Exceptions
- InvalidDataException
An implementation with the same ID is already present.