Table of Contents

Class FeedTemplate

Namespace
ZeroInstall.Publish
Assembly
ZeroInstall.Publish.dll

Creates new Feeds from scratch or from local feeds.

public static class FeedTemplate
Inheritance
object
FeedTemplate

Methods

Create(string)

Creates a new feed pre-filled with placeholder values.

public static Feed Create(string name = "My App")

Parameters

name string

The name of the application the feed is for.

Returns

Feed

CreateFromLocal(Feed)

Creates a master feed from a local feed, turning its FeedFor reference into the feed's own Uri.

public static Feed CreateFromLocal(Feed localFeed)

Parameters

localFeed Feed

The local feed to convert. Not modified.

Returns

Feed

The new master feed.

Exceptions

InvalidDataException

localFeed does not have exactly one FeedFor reference.