public Node Move(string name) { if (this.IsLeaf()) { throw new NullReferenceException(nameof(Node)); } var child = Childs.Find(c => c.Name == name); if (child is null) { throw new NullReferenceException(nameof(Node)); } return(child); }
public Node ChildByGuid(Guid guid) { return(Childs.Find(node => node.Guid == guid)); }
private Node TryChildByLabel(string label) { return(Childs.Find(node => node.label == label)); }
public XmlData SearchChild(System.Predicate <XmlData> func) { return(Childs.Find(func)); }