Interface ITreeViewNodeCollection
- Namespace
- GroupeIsa.Neos.EndToEndTests.UI.Components
- Assembly
- GroupeIsa.Neos.EndToEndTests.UI.dll
Provides the functionalities of a collection of ITreeViewNode.
public interface ITreeViewNodeCollection
Methods
FindNode(string)
Finds the node whose the displayed text is the specified text.
ITreeViewNode? FindNode(string displayedText)
Parameters
displayedTextstringDisplayed text of the node.
Returns
- ITreeViewNode
The found node or
nullwhen no node matching the text was found.
GetNode(string)
Gets the node whose the displayed text is the specified text.
ITreeViewNode GetNode(string displayedText)
Parameters
displayedTextstringDisplayed text of the node.
Returns
- ITreeViewNode
The node.
Exceptions
- InvalidOperationException
Thrown when no node matching the text was found.
GetNodes()
Gets all child nodes (first level only).
IEnumerable<ITreeViewNode> GetNodes()
Returns
- IEnumerable<ITreeViewNode>
A collection of child nodes.
HasNode(string)
Checks if the node whose the displayed text is the specified text exists.
bool HasNode(string displayedText)
Parameters
displayedTextstringDisplayed text of the node.
Returns
- bool
truewhen node matching the text was found;falseotherwise.