Show / Hide Table of Contents

Class SelectionsTreeNode

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

Inheritance
Object
SelectionsTreeNode
Implements
INamed
IEquatable<SelectionsTreeNode>
Namespace: ZeroInstall.Store.ViewModel
Assembly: ZeroInstall.Store.dll
Syntax
public sealed class SelectionsTreeNode : Object

Constructors

SelectionsTreeNode(FeedUri, ImplementationVersion, String, SelectionsTreeNode)

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

Declaration
public SelectionsTreeNode(FeedUri Uri, ImplementationVersion Version, string Path, SelectionsTreeNode Parent)
Parameters
Type Name Description
FeedUri Uri

The feed URI of the selected implementation.

ImplementationVersion Version

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

String Path

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

SelectionsTreeNode Parent

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

Properties

Name

The full name of the node used for tree hierarchies.

Declaration
public string Name { get; set; }
Property Value
Type Description
String

Parent

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

Declaration
public SelectionsTreeNode Parent { get; set; }
Property Value
Type Description
SelectionsTreeNode

Path

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

Declaration
public string Path { get; set; }
Property Value
Type Description
String

Uri

The feed URI of the selected implementation.

Declaration
public FeedUri Uri { get; set; }
Property Value
Type Description
FeedUri

Version

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

Declaration
public ImplementationVersion Version { get; set; }
Property Value
Type Description
ImplementationVersion

Methods

<Clone>$()

Declaration
public SelectionsTreeNode <Clone>$()
Returns
Type Description
SelectionsTreeNode

Deconstruct(out FeedUri, out ImplementationVersion, out String, out SelectionsTreeNode)

Declaration
public void Deconstruct(out FeedUri Uri, out ImplementationVersion Version, out string Path, out SelectionsTreeNode Parent)
Parameters
Type Name Description
FeedUri Uri
ImplementationVersion Version
String Path
SelectionsTreeNode Parent

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj
Returns
Type Description
Boolean

Equals(SelectionsTreeNode)

Declaration
public bool Equals(SelectionsTreeNode other)
Parameters
Type Name Description
SelectionsTreeNode other
Returns
Type Description
Boolean

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
Int32

ToString()

Creates string representation suitable for console output.

Declaration
public override string ToString()
Returns
Type Description
String

Operators

Equality(SelectionsTreeNode, SelectionsTreeNode)

Declaration
public static bool operator ==(SelectionsTreeNode left, SelectionsTreeNode right)
Parameters
Type Name Description
SelectionsTreeNode left
SelectionsTreeNode right
Returns
Type Description
Boolean

Inequality(SelectionsTreeNode, SelectionsTreeNode)

Declaration
public static bool operator !=(SelectionsTreeNode left, SelectionsTreeNode right)
Parameters
Type Name Description
SelectionsTreeNode left
SelectionsTreeNode right
Returns
Type Description
Boolean

Implements

INamed
System.IEquatable<T>
In This Article
Back to top Copyright Bastian Eicher et al