Table of Contents

Class NavigableNodeCollection<T>

Namespace
Yarhl.FileSystem
Assembly
Yarhl.dll

Read-only collection of NavigableNodes.

public class NavigableNodeCollection<T> : ReadOnlyCollection<T>, IList<T>, ICollection<T>, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IList, ICollection, IEnumerable where T : NavigableNode<T>

Type Parameters

T

The implementation of NavigableNodes.

Inheritance
NavigableNodeCollection<T>
Implements
Inherited Members

Constructors

NavigableNodeCollection(IList<T>)

Initializes a new instance of the NavigableNodeCollection<T> class.

public NavigableNodeCollection(IList<T> list)

Parameters

list IList<T>

Original list of nodes.

Properties

this[string]

Gets the NavigableNodeCollection<T> with the specified name.

public T? this[string name] { get; }

Parameters

name string

Node name.

Property Value

T

The node with the same name or null if not found.