Class FeedNode
- Namespace
- ZeroInstall.Store.ViewModel
- Assembly
- ZeroInstall.Store.dll
Models information about a Feed in the IFeedCache for display in a UI.
public sealed class FeedNode : CacheNode, INamed, IEquatable<CacheNode>
- Inheritance
-
objectFeedNode
- Implements
- Inherited Members
Constructors
FeedNode(string, Feed)
Creates a new feed node.
public FeedNode(string path, Feed feed)
Parameters
Exceptions
- IOException
The feed file could not be read.
- UnauthorizedAccessException
Read access to the feed file is not permitted.
Properties
Categories
A comma-separated list of categories the applications fits into.
public string Categories { get; }
Property Value
Feed
The parsed feed.
[Browsable(false)]
public Feed Feed { get; }
Property Value
Homepage
The main website of the application.
public Uri? Homepage { get; }
Property Value
- Uri
Name
The full name of the node used for tree hierarchies.
public override string Name { get; set; }
Property Value
Summary
A short one-line description of the application.
public string? Summary { get; }
Property Value
Uri
The URI identifying this feed.
public FeedUri Uri { get; }
Property Value
Methods
Equals(CacheNode?)
public override bool Equals(CacheNode? other)
Parameters
otherCacheNode
Returns
GetHashCode()
public override int GetHashCode()
Returns
Remove(IFeedCache?, IImplementationStore?)
Removes this Feed from the feedCache if provided.
public override void Remove(IFeedCache? feedCache = null, IImplementationStore? implementationStore = null)
Parameters
feedCacheIFeedCacheimplementationStoreIImplementationStore
Exceptions
- KeyNotFoundException
No matching feed could be found in the IFeedCache.
- IOException
The feed could not be deleted.
- UnauthorizedAccessException
Write access to the cache is not permitted.
ToString()
Creates string representation suitable for console output.
public override string ToString()