Table of Contents

Class SelectionsTreeNode

Namespace
ZeroInstall.Store.ViewModel
Assembly
ZeroInstall.Store.dll

Models an ImplementationSelection element of a Selections document for display in a tree-like UI.

public sealed record SelectionsTreeNode : INamed, IEquatable<SelectionsTreeNode>
Inheritance
SelectionsTreeNode
Implements
Inherited Members

Constructors

SelectionsTreeNode(FeedUri, ImplementationVersion?, string?, SelectionsTreeNode?)

Models an ImplementationSelection element of a Selections document for display in a tree-like UI.

public SelectionsTreeNode(FeedUri Uri, ImplementationVersion? Version, string? Path, SelectionsTreeNode? Parent)

Parameters

Uri FeedUri

The feed URI of the selected implementation.

Version ImplementationVersion

The version of the selected implementation. null for a missing selection.

Path string

The local path of the cached implementation. null for an uncached implementation.

Parent SelectionsTreeNode

The parent node containing this one. null for root node.

Properties

Name

The full name of the node used for tree hierarchies.

[Browsable(false)]
public string Name { get; set; }

Property Value

string

Parent

The parent node containing this one. null for root node.

[Browsable(false)]
public SelectionsTreeNode? Parent { get; init; }

Property Value

SelectionsTreeNode

Path

The local path of the cached implementation. null for an uncached implementation.

public string? Path { get; init; }

Property Value

string

Uri

The feed URI of the selected implementation.

public FeedUri Uri { get; init; }

Property Value

FeedUri

Version

The version of the selected implementation. null for a missing selection.

public ImplementationVersion? Version { get; init; }

Property Value

ImplementationVersion

Methods

ToString()

Creates string representation suitable for console output.

public override string ToString()

Returns

string