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
FeedUriThe feed URI of the selected implementation.
Version
ImplementationVersionThe version of the selected implementation.
null
for a missing selection.Path
stringThe local path of the cached implementation.
null
for an uncached implementation.Parent
SelectionsTreeNodeThe 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
Parent
The parent node containing this one. null
for root node.
[Browsable(false)]
public SelectionsTreeNode? Parent { get; init; }
Property Value
Path
The local path of the cached implementation. null
for an uncached implementation.
public string? Path { get; init; }
Property Value
Uri
The feed URI of the selected implementation.
public FeedUri Uri { get; init; }
Property Value
Version
The version of the selected implementation. null
for a missing selection.
public ImplementationVersion? Version { get; init; }
Property Value
Methods
ToString()
Creates string representation suitable for console output.
public override string ToString()