Example #1
0
 /// <summary>
 /// Gets the leaf nodes
 /// </summary>
 /// <param name="walker">The walker to use</param>
 /// <returns>the leaf nodes</returns>
 public new IReadOnlyList <TNode> GetLeafNodes(TreeWalker walker = null)
 {
     return(base.GetLeafNodes(walker).ConvertAll <TNode>());
 }
Example #2
0
 /// <summary>
 /// Gets the descendants and self
 /// </summary>
 /// <param name="walker">The walker to use</param>
 /// <returns>the descendants and self</returns>
 public new IReadOnlyList <TNode> GetDescendantsAndSelf(TreeWalker walker = null)
 {
     return(base.GetDescendantsAndSelf(walker).ConvertAll <TNode>());
 }