C# 클래스 NSoft.NFramework.LinqEx.ExpressionVisitor

This comes from Matt Warren's sample: http://blogs.msdn.com/mattwar/archive/2007/07/31/linq-building-an-iqueryable-provider-part-ii.aspx
파일 보기 프로젝트 열기: debop/NFramework

공개 메소드들

메소드 설명
Visit ( Expression exp ) : Expression

지정된 Expression의 종류에 따라 Visitor를 생성한다.

보호된 메소드들

메소드 설명
VisitBinary ( BinaryExpression b ) : Expression

Apply Visitor to BinaryExpression

VisitBinding ( MemberBinding binding ) : MemberBinding

Visit Binding

VisitBindingList ( ReadOnlyCollection original ) : IEnumerable

VisitConditional ( ConditionalExpression c ) : Expression

VisitConstant ( ConstantExpression c ) : Expression

VisitElementInitializer ( ElementInit initializer ) : ElementInit

Apply initializer to ElementInit

VisitElementInitializerList ( ReadOnlyCollection original ) : IEnumerable

VisitExpressionList ( ReadOnlyCollection original ) : ReadOnlyCollection

VisitInvocation ( InvocationExpression iv ) : Expression

VisitLambda ( LambdaExpression lambda ) : Expression

VisitListInit ( ListInitExpression init ) : Expression

VisitMemberAccess ( MemberExpression m ) : Expression

VisitMemberAssignment ( MemberAssignment assignment ) : MemberAssignment

VisitMemberInit ( MemberInitExpression init ) : Expression

VisitMemberListBinding ( MemberListBinding binding ) : MemberListBinding

VisitMemberMemberBinding ( MemberMemberBinding binding ) : MemberMemberBinding

VisitMethodCall ( MethodCallExpression m ) : Expression

VisitNew ( NewExpression nex ) : NewExpression

VisitNewArray ( NewArrayExpression na ) : Expression

VisitParameter ( System.Linq.Expressions.ParameterExpression p ) : Expression

VisitTypeIs ( TypeBinaryExpression b ) : Expression

VisitUnary ( UnaryExpression u ) : Expression

Apply Visitor to UnaryExpression

메소드 상세

Visit() 공개 메소드

지정된 Expression의 종류에 따라 Visitor를 생성한다.
public Visit ( Expression exp ) : Expression
exp System.Linq.Expressions.Expression
리턴 System.Linq.Expressions.Expression

VisitBinary() 보호된 메소드

Apply Visitor to BinaryExpression
protected VisitBinary ( BinaryExpression b ) : Expression
b System.Linq.Expressions.BinaryExpression
리턴 System.Linq.Expressions.Expression

VisitBinding() 보호된 메소드

Visit Binding
protected VisitBinding ( MemberBinding binding ) : MemberBinding
binding System.Linq.Expressions.MemberBinding
리턴 System.Linq.Expressions.MemberBinding

VisitBindingList() 보호된 메소드

protected VisitBindingList ( ReadOnlyCollection original ) : IEnumerable
original ReadOnlyCollection
리턴 IEnumerable

VisitConditional() 보호된 메소드

protected VisitConditional ( ConditionalExpression c ) : Expression
c System.Linq.Expressions.ConditionalExpression
리턴 System.Linq.Expressions.Expression

VisitConstant() 보호된 메소드

protected VisitConstant ( ConstantExpression c ) : Expression
c System.Linq.Expressions.ConstantExpression
리턴 System.Linq.Expressions.Expression

VisitElementInitializer() 보호된 메소드

Apply initializer to ElementInit
protected VisitElementInitializer ( ElementInit initializer ) : ElementInit
initializer System.Linq.Expressions.ElementInit
리턴 System.Linq.Expressions.ElementInit

VisitElementInitializerList() 보호된 메소드

protected VisitElementInitializerList ( ReadOnlyCollection original ) : IEnumerable
original ReadOnlyCollection
리턴 IEnumerable

VisitExpressionList() 보호된 메소드

protected VisitExpressionList ( ReadOnlyCollection original ) : ReadOnlyCollection
original ReadOnlyCollection
리턴 ReadOnlyCollection

VisitInvocation() 보호된 메소드

protected VisitInvocation ( InvocationExpression iv ) : Expression
iv System.Linq.Expressions.InvocationExpression
리턴 System.Linq.Expressions.Expression

VisitLambda() 보호된 메소드

protected VisitLambda ( LambdaExpression lambda ) : Expression
lambda System.Linq.Expressions.LambdaExpression
리턴 System.Linq.Expressions.Expression

VisitListInit() 보호된 메소드

protected VisitListInit ( ListInitExpression init ) : Expression
init System.Linq.Expressions.ListInitExpression
리턴 System.Linq.Expressions.Expression

VisitMemberAccess() 보호된 메소드

protected VisitMemberAccess ( MemberExpression m ) : Expression
m System.Linq.Expressions.MemberExpression
리턴 System.Linq.Expressions.Expression

VisitMemberAssignment() 보호된 메소드

protected VisitMemberAssignment ( MemberAssignment assignment ) : MemberAssignment
assignment System.Linq.Expressions.MemberAssignment
리턴 System.Linq.Expressions.MemberAssignment

VisitMemberInit() 보호된 메소드

protected VisitMemberInit ( MemberInitExpression init ) : Expression
init System.Linq.Expressions.MemberInitExpression
리턴 System.Linq.Expressions.Expression

VisitMemberListBinding() 보호된 메소드

protected VisitMemberListBinding ( MemberListBinding binding ) : MemberListBinding
binding System.Linq.Expressions.MemberListBinding
리턴 System.Linq.Expressions.MemberListBinding

VisitMemberMemberBinding() 보호된 메소드

protected VisitMemberMemberBinding ( MemberMemberBinding binding ) : MemberMemberBinding
binding System.Linq.Expressions.MemberMemberBinding
리턴 System.Linq.Expressions.MemberMemberBinding

VisitMethodCall() 보호된 메소드

protected VisitMethodCall ( MethodCallExpression m ) : Expression
m System.Linq.Expressions.MethodCallExpression
리턴 System.Linq.Expressions.Expression

VisitNew() 보호된 메소드

protected VisitNew ( NewExpression nex ) : NewExpression
nex System.Linq.Expressions.NewExpression
리턴 System.Linq.Expressions.NewExpression

VisitNewArray() 보호된 메소드

protected VisitNewArray ( NewArrayExpression na ) : Expression
na System.Linq.Expressions.NewArrayExpression
리턴 System.Linq.Expressions.Expression

VisitParameter() 보호된 메소드

protected VisitParameter ( System.Linq.Expressions.ParameterExpression p ) : Expression
p System.Linq.Expressions.ParameterExpression
리턴 System.Linq.Expressions.Expression

VisitTypeIs() 보호된 메소드

protected VisitTypeIs ( TypeBinaryExpression b ) : Expression
b System.Linq.Expressions.TypeBinaryExpression
리턴 System.Linq.Expressions.Expression

VisitUnary() 보호된 메소드

Apply Visitor to UnaryExpression
protected VisitUnary ( UnaryExpression u ) : Expression
u System.Linq.Expressions.UnaryExpression
리턴 System.Linq.Expressions.Expression