Table of Contents

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 string

The path of the directory.

implementation Implementation

Information about the implementation from a Feed file.

parent FeedNode

The 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

Architecture

FeedUri

The URI of the feed describing the implementation.

public override FeedUri FeedUri { get; }

Property Value

FeedUri

ID

A unique identifier for the implementation. Used when storing implementation-specific user preferences.

public string ID { get; }

Property Value

string

Name

The full name of the node used for tree hierarchies.

public override string Name { get; set; }

Property Value

string

Version

The version number of the implementation.

public ImplementationVersion Version { get; }

Property Value

ImplementationVersion

Methods

ToString()

Creates string representation suitable for console output.

public override string ToString()

Returns

string