mirror of
https://github.com/dnwSilver/tld.git
synced 2024-11-25 16:42:07 +00:00
20 lines
376 B
C#
20 lines
376 B
C#
using TUI.Engine.Containers;
|
|
using TUI.Engine.Nodes;
|
|
|
|
namespace TUI.Engine.Tests.Stubs;
|
|
|
|
public class TestContainer : ContainerBase
|
|
{
|
|
private Nodes.Nodes _nodes = new();
|
|
|
|
public override Nodes.Nodes GetNodes()
|
|
{
|
|
return _nodes;
|
|
}
|
|
|
|
public TestContainer SetNodes(params INode[] nodes)
|
|
{
|
|
_nodes.AddRange(nodes);
|
|
return this;
|
|
}
|
|
} |