public static ITreeNode <T> Find <T>(this ITreeNode <T> root, Func <ITreeNode <T>, bool> condition) { return(root.DepthFirstSearch(condition)); }
public static ITreeNode <T> Find <T>(this ITreeNode <T> root, T value) { return(root.DepthFirstSearch(value)); }