C# Class DelegateDecompiler.DecompileExpressionVisitor

Inheritance: System.Linq.Expressions.ExpressionVisitor
Datei anzeigen Open project: hazzik/DelegateDecompiler Class Usage Examples

Public Methods

Method Description
Decompile ( Expression expression ) : Expression

Protected Methods

Method Description
ShouldDecompile ( MemberInfo methodInfo ) : bool
VisitMember ( MemberExpression node ) : Expression
VisitMethodCall ( MethodCallExpression node ) : Expression

Private Methods

Method Description
Decompile ( MethodInfo method, Expression instance, IList arguments ) : Expression

Method Details

Decompile() public static method

public static Decompile ( Expression expression ) : Expression
expression System.Linq.Expressions.Expression
return System.Linq.Expressions.Expression

ShouldDecompile() protected method

protected ShouldDecompile ( MemberInfo methodInfo ) : bool
methodInfo System.Reflection.MemberInfo
return bool

VisitMember() protected method

protected VisitMember ( MemberExpression node ) : Expression
node System.Linq.Expressions.MemberExpression
return System.Linq.Expressions.Expression

VisitMethodCall() protected method

protected VisitMethodCall ( MethodCallExpression node ) : Expression
node System.Linq.Expressions.MethodCallExpression
return System.Linq.Expressions.Expression