HasTreeNodeExtensions Class

Contains extension methods for IHasTreeNodes.
public static class HasTreeNodeExtensions
Namespace
Spectre.Console

Methods

static TreeNode AddNode<T>(T, IRenderable)
Adds a tree node.
static TreeNode AddNode<T>(T, string)
Adds a tree node.
static TreeNode AddNode<T>(T, TreeNode)
Adds a tree node.
static void AddNodes<T>(T, IEnumerable<IRenderable>)
Add multiple tree nodes.
static void AddNodes<T>(T, IEnumerable<string>)
Add multiple tree nodes.
static void AddNodes<T>(T, IEnumerable<TreeNode>)
Add multiple tree nodes.
static void AddNodes<T>(T, IRenderable[])
Add multiple tree nodes.
static void AddNodes<T>(T, string[])
Add multiple tree nodes.
static void AddNodes<T>(T, TreeNode[])
Add multiple tree nodes.