C# 클래스 ICSharpCode.NRefactory.Utils.TreeTraversal

Static helper methods for traversing trees.
파일 보기 프로젝트 열기: sq/ILSpy-JSIL 1 사용 예제들

공개 메소드들

메소드 설명
PostOrder ( root, Func recursion ) : IEnumerable

Converts a tree data structure into a flat list by traversing it in post-order.

PostOrder ( IEnumerable input, Func recursion ) : IEnumerable

Converts a tree data structure into a flat list by traversing it in post-order.

PreOrder ( root, Func recursion ) : IEnumerable

Converts a tree data structure into a flat list by traversing it in pre-order.

PreOrder ( IEnumerable input, Func recursion ) : IEnumerable

Converts a tree data structure into a flat list by traversing it in pre-order.

메소드 상세

PostOrder() 공개 정적인 메소드

Converts a tree data structure into a flat list by traversing it in post-order.
public static PostOrder ( root, Func recursion ) : IEnumerable
root The root element of the tree.
recursion Func The function that gets the children of an element.
리턴 IEnumerable

PostOrder() 공개 정적인 메소드

Converts a tree data structure into a flat list by traversing it in post-order.
public static PostOrder ( IEnumerable input, Func recursion ) : IEnumerable
input IEnumerable The root elements of the forest.
recursion Func The function that gets the children of an element.
리턴 IEnumerable

PreOrder() 공개 정적인 메소드

Converts a tree data structure into a flat list by traversing it in pre-order.
public static PreOrder ( root, Func recursion ) : IEnumerable
root The root element of the tree.
recursion Func The function that gets the children of an element.
리턴 IEnumerable

PreOrder() 공개 정적인 메소드

Converts a tree data structure into a flat list by traversing it in pre-order.
public static PreOrder ( IEnumerable input, Func recursion ) : IEnumerable
input IEnumerable The root elements of the forest.
recursion Func The function that gets the children of an element.
리턴 IEnumerable