C# Class LinqKit.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
Afficher le fichier Open project: scottksmith95/LINQKit

Méthodes publiques

Méthode Description
Visit ( Expression exp ) : Expression

Visit expression tree

Méthodes protégées

Méthode Description
VisitBinary ( BinaryExpression b ) : Expression

Visit two-parameter expression

VisitBinding ( MemberBinding binding ) : MemberBinding

Visit member binding

VisitBindingList ( ReadOnlyCollection original ) : IEnumerable

Visit list of bindings

VisitConditional ( ConditionalExpression c ) : Expression

Simplify conditional expression

VisitConstant ( ConstantExpression c ) : Expression

Return constant expression

VisitElementInitializer ( ElementInit initializer ) : ElementInit

Visit element initializer

VisitElementInitializerList ( ReadOnlyCollection original ) : IEnumerable

Visit list of element-initializers

VisitExpressionList ( ReadOnlyCollection original ) : ReadOnlyCollection

Visit list of expressions

VisitInvocation ( InvocationExpression iv ) : Expression

Visit invocation expression

VisitLambda ( LambdaExpression lambda ) : Expression

Visit lambda expression

VisitListInit ( ListInitExpression init ) : Expression

Visit list init expression

VisitMemberAccess ( MemberExpression m ) : Expression

Visit member access

VisitMemberAssignment ( MemberAssignment assignment ) : MemberAssignment

Visit member assignment

VisitMemberInit ( MemberInitExpression init ) : Expression

Visit member init expression

VisitMemberListBinding ( MemberListBinding binding ) : MemberListBinding

Visit member list binding

VisitMemberMemberBinding ( MemberMemberBinding binding ) : MemberMemberBinding

Visit member binding

VisitMethodCall ( MethodCallExpression m ) : Expression

Visit method call

VisitNew ( NewExpression nex ) : NewExpression

Visit new-expression

VisitNewArray ( NewArrayExpression na ) : Expression

Visit array expression

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

Return parameter expression

VisitTypeIs ( TypeBinaryExpression b ) : Expression

Visit type-is expression

VisitUnary ( UnaryExpression u ) : Expression

Visit one-parameter expression

Method Details

Visit() public méthode

Visit expression tree
public Visit ( Expression exp ) : Expression
exp System.Linq.Expressions.Expression
Résultat System.Linq.Expressions.Expression

VisitBinary() protected méthode

Visit two-parameter expression
protected VisitBinary ( BinaryExpression b ) : Expression
b System.Linq.Expressions.BinaryExpression
Résultat System.Linq.Expressions.Expression

VisitBinding() protected méthode

Visit member binding
protected VisitBinding ( MemberBinding binding ) : MemberBinding
binding System.Linq.Expressions.MemberBinding
Résultat System.Linq.Expressions.MemberBinding

VisitBindingList() protected méthode

Visit list of bindings
protected VisitBindingList ( ReadOnlyCollection original ) : IEnumerable
original ReadOnlyCollection
Résultat IEnumerable

VisitConditional() protected méthode

Simplify conditional expression
protected VisitConditional ( ConditionalExpression c ) : Expression
c System.Linq.Expressions.ConditionalExpression
Résultat System.Linq.Expressions.Expression

VisitConstant() protected méthode

Return constant expression
protected VisitConstant ( ConstantExpression c ) : Expression
c System.Linq.Expressions.ConstantExpression
Résultat System.Linq.Expressions.Expression

VisitElementInitializer() protected méthode

Visit element initializer
protected VisitElementInitializer ( ElementInit initializer ) : ElementInit
initializer System.Linq.Expressions.ElementInit
Résultat System.Linq.Expressions.ElementInit

VisitElementInitializerList() protected méthode

Visit list of element-initializers
protected VisitElementInitializerList ( ReadOnlyCollection original ) : IEnumerable
original ReadOnlyCollection
Résultat IEnumerable

VisitExpressionList() protected méthode

Visit list of expressions
protected VisitExpressionList ( ReadOnlyCollection original ) : ReadOnlyCollection
original ReadOnlyCollection
Résultat ReadOnlyCollection

VisitInvocation() protected méthode

Visit invocation expression
protected VisitInvocation ( InvocationExpression iv ) : Expression
iv System.Linq.Expressions.InvocationExpression
Résultat System.Linq.Expressions.Expression

VisitLambda() protected méthode

Visit lambda expression
protected VisitLambda ( LambdaExpression lambda ) : Expression
lambda System.Linq.Expressions.LambdaExpression
Résultat System.Linq.Expressions.Expression

VisitListInit() protected méthode

Visit list init expression
protected VisitListInit ( ListInitExpression init ) : Expression
init System.Linq.Expressions.ListInitExpression
Résultat System.Linq.Expressions.Expression

VisitMemberAccess() protected méthode

Visit member access
protected VisitMemberAccess ( MemberExpression m ) : Expression
m System.Linq.Expressions.MemberExpression
Résultat System.Linq.Expressions.Expression

VisitMemberAssignment() protected méthode

Visit member assignment
protected VisitMemberAssignment ( MemberAssignment assignment ) : MemberAssignment
assignment System.Linq.Expressions.MemberAssignment
Résultat System.Linq.Expressions.MemberAssignment

VisitMemberInit() protected méthode

Visit member init expression
protected VisitMemberInit ( MemberInitExpression init ) : Expression
init System.Linq.Expressions.MemberInitExpression
Résultat System.Linq.Expressions.Expression

VisitMemberListBinding() protected méthode

Visit member list binding
protected VisitMemberListBinding ( MemberListBinding binding ) : MemberListBinding
binding System.Linq.Expressions.MemberListBinding
Résultat System.Linq.Expressions.MemberListBinding

VisitMemberMemberBinding() protected méthode

Visit member binding
protected VisitMemberMemberBinding ( MemberMemberBinding binding ) : MemberMemberBinding
binding System.Linq.Expressions.MemberMemberBinding
Résultat System.Linq.Expressions.MemberMemberBinding

VisitMethodCall() protected méthode

Visit method call
protected VisitMethodCall ( MethodCallExpression m ) : Expression
m System.Linq.Expressions.MethodCallExpression
Résultat System.Linq.Expressions.Expression

VisitNew() protected méthode

Visit new-expression
protected VisitNew ( NewExpression nex ) : NewExpression
nex System.Linq.Expressions.NewExpression
Résultat System.Linq.Expressions.NewExpression

VisitNewArray() protected méthode

Visit array expression
protected VisitNewArray ( NewArrayExpression na ) : Expression
na System.Linq.Expressions.NewArrayExpression
Résultat System.Linq.Expressions.Expression

VisitParameter() protected méthode

Return parameter expression
protected VisitParameter ( System.Linq.Expressions.ParameterExpression p ) : Expression
p System.Linq.Expressions.ParameterExpression
Résultat System.Linq.Expressions.Expression

VisitTypeIs() protected méthode

Visit type-is expression
protected VisitTypeIs ( TypeBinaryExpression b ) : Expression
b System.Linq.Expressions.TypeBinaryExpression
Résultat System.Linq.Expressions.Expression

VisitUnary() protected méthode

Visit one-parameter expression
protected VisitUnary ( UnaryExpression u ) : Expression
u System.Linq.Expressions.UnaryExpression
Résultat System.Linq.Expressions.Expression