C# 클래스 SubSonic.Extensions.ExpressionExtensions

This class contains general extension methods for the System.Linq.Expressions.Expression class.
파일 보기 프로젝트 열기: rally25rs/SubSonic-3.0

공개 메소드들

메소드 설명
PrintExpressionTree ( this expr ) : string

Evaluates an Expression and builts a for-display string representation of the expression tree. This is primarily used to debug and visualize an expression, to help understand how it will be parsed.

this is reflection heavy, try not to use it too terribly much. was too lazy to build out full dynamic methods for a basic utility/support/debug-helper function, since it shouldn't be called all that much.

비공개 메소드들

메소드 설명
AddBlankTreeLines ( StringBuilder sb, int depth ) : void
AddTreeLines ( StringBuilder sb, int depth ) : void
VisitNode ( Expression expr, string desc, StringBuilder sb, int depth, int &nodeNumber ) : void

메소드 상세

PrintExpressionTree() 공개 정적인 메소드

Evaluates an Expression and builts a for-display string representation of the expression tree. This is primarily used to debug and visualize an expression, to help understand how it will be parsed.
this is reflection heavy, try not to use it too terribly much. was too lazy to build out full dynamic methods for a basic utility/support/debug-helper function, since it shouldn't be called all that much.
public static PrintExpressionTree ( this expr ) : string
expr this
리턴 string