Zero Install .NET API 2.20.0
ZeroInstall.Store.ViewModel.FeedNode Class Reference

Models information about a Feed in the IFeedCache for display in a UI. More...

Inheritance diagram for ZeroInstall.Store.ViewModel.FeedNode:
ZeroInstall.Store.ViewModel.CacheNode NanoByte::Common::INamed

Public Member Functions

override void Delete (ITaskHandler handler)
 Deletes this Feed from the IFeedCache it is located in. More...
 
- Public Member Functions inherited from ZeroInstall.Store.ViewModel.CacheNode
bool Equals (CacheNode? other)
 
override bool Equals (object? obj)
 
override int GetHashCode ()
 

Properties

override string Name [getset]
 
FeedUriUri [get]
 The URI identifying this feed.
 
UriHomepage [get]
 The main website of the application.
 
string? Summary [get]
 A short one-line description of the application.
 
string Categories [get]
 A comma-separated list of categories the applications fits into.
 
- Properties inherited from ZeroInstall.Store.ViewModel.CacheNode
abstract string Name [getset]
 The full name of the node used for tree hierarchies.
 
- Properties inherited from NanoByte::Common::INamed
string Name
 

Additional Inherited Members

- Public Attributes inherited from ZeroInstall.Store.ViewModel.CacheNode
int SuffixCounter
 A counter that can be used to prevent naming collisions. More...
 

Detailed Description

Models information about a Feed in the IFeedCache for display in a UI.

Member Function Documentation

◆ Delete()

override void ZeroInstall.Store.ViewModel.FeedNode.Delete ( ITaskHandler  handler)
inlinevirtual

Deletes this Feed from the IFeedCache it is located in.

Parameters
handlerA callback object used when the the user needs to be asked questions or informed about IO tasks.
Exceptions
KeyNotFoundExceptionNo matching feed could be found in the IFeedCache.
IOExceptionThe feed could not be deleted.
UnauthorizedAccessExceptionWrite access to the cache is not permitted.

Implements ZeroInstall.Store.ViewModel.CacheNode.


The documentation for this class was generated from the following file: