/// <inheritdoc /> public override IEnumerable <ITreeNode <T> > SearchEnumeration(ETreeSearchType type) { switch (type) { case ETreeSearchType.BREADTHFIRST: return(new BasicEnumerable <TreeNode <T> >( new BreathFirstSearchEnumerator <T>(this) )); case ETreeSearchType.DEPTHFIRST: return(new BasicEnumerable <TreeNode <T> >( new DepthFirstSearchEnumerator <T>(this) )); default: return(null); } }
/// <inheritdoc /> public abstract IEnumerable <ITreeNode <T> > SearchEnumeration(ETreeSearchType type);