Table of Contents

GetPath Method

Definition

Namespace
Cuemon.Extensions.Runtime
Assemblies
Cuemon.Extensions.Core.dll
Source
src/Cuemon.Extensions.Core/Runtime/IHierarchy.cs

GetPath()

Gets the hierarchical path of the node in the hierarchical structure.

string GetPath()

Returns

string

A string that identifies the hierarchical path relative to the current node.

GetPath(Func<IHierarchy<T>, string>)

Gets the hierarchical path of the node in the hierarchical structure.

string GetPath(Func<IHierarchy<T>, string> pathResolver)

Parameters

pathResolver Func<IHierarchy<T>, string>

The function delegate that resolves the hierarchical path of the node in the hierarchical structure.

Returns

string

A string that identifies the hierarchical path relative to the current node.