Class FeedTemplate
- Namespace
- ZeroInstall.Publish
- Assembly
- ZeroInstall.Publish.dll
Creates new Feeds from scratch or from local feeds.
public static class FeedTemplate
- Inheritance
-
objectFeedTemplate
Methods
Create(string)
Creates a new feed pre-filled with placeholder values.
public static Feed Create(string name = "My App")
Parameters
namestringThe name of the application the feed is for.
Returns
CreateFromLocal(Feed)
public static Feed CreateFromLocal(Feed localFeed)
Parameters
localFeedFeedThe local feed to convert. Not modified.
Returns
- Feed
The new master feed.
Exceptions
- InvalidDataException
localFeeddoes not have exactly one FeedFor reference.