Class OwnedImplementationNode
- Namespace
- ZeroInstall.Store.ViewModel
- Assembly
- ZeroInstall.Store.dll
Models information about an implementation in an IImplementationStore with a known owning interface for display in a UI.
public sealed class OwnedImplementationNode : ImplementationNode, INamed, IEquatable<CacheNode>
- Inheritance
-
OwnedImplementationNode
- Implements
- Inherited Members
Constructors
OwnedImplementationNode(string, Implementation, FeedNode)
Creates a new owned implementation node.
public OwnedImplementationNode(string path, Implementation implementation, FeedNode parent)
Parameters
path
stringThe path of the directory.
implementation
ImplementationInformation about the implementation from a Feed file.
parent
FeedNodeThe node of the feed owning the implementation.
Exceptions
- IOException
The manifest file could not be read.
- UnauthorizedAccessException
Read access to the manifest file is not permitted.
- FormatException
The manifest file is not valid.
Properties
Architecture
The version number of the implementation.
[TypeConverter(typeof(StringConstructorConverter<Architecture>))]
public Architecture Architecture { get; }
Property Value
FeedUri
The URI of the feed describing the implementation.
public override FeedUri FeedUri { get; }
Property Value
ID
A unique identifier for the implementation. Used when storing implementation-specific user preferences.
public string ID { get; }
Property Value
Name
The full name of the node used for tree hierarchies.
public override string Name { get; set; }
Property Value
Version
The version number of the implementation.
public ImplementationVersion Version { get; }
Property Value
Methods
ToString()
Creates string representation suitable for console output.
public override string ToString()