C# Class 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
Afficher le fichier Open project: debop/NFramework

Méthodes publiques

Méthode Description
Visit ( Expression exp ) : Expression

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

Méthodes protégées

Méthode Description
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

Method Details

Visit() public méthode

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

VisitBinary() protected méthode

Apply Visitor to BinaryExpression
protected VisitBinary ( BinaryExpression b ) : Expression
b System.Linq.Expressions.BinaryExpression
Résultat System.Linq.Expressions.Expression

VisitBinding() protected méthode

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

VisitBindingList() protected méthode

protected VisitBindingList ( ReadOnlyCollection original ) : IEnumerable
original ReadOnlyCollection
Résultat IEnumerable

VisitConditional() protected méthode

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

VisitConstant() protected méthode

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

VisitElementInitializer() protected méthode

Apply initializer to ElementInit
protected VisitElementInitializer ( ElementInit initializer ) : ElementInit
initializer System.Linq.Expressions.ElementInit
Résultat System.Linq.Expressions.ElementInit

VisitElementInitializerList() protected méthode

protected VisitElementInitializerList ( ReadOnlyCollection original ) : IEnumerable
original ReadOnlyCollection
Résultat IEnumerable

VisitExpressionList() protected méthode

protected VisitExpressionList ( ReadOnlyCollection original ) : ReadOnlyCollection
original ReadOnlyCollection
Résultat ReadOnlyCollection

VisitInvocation() protected méthode

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

VisitLambda() protected méthode

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

VisitListInit() protected méthode

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

VisitMemberAccess() protected méthode

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

VisitMemberAssignment() protected méthode

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

VisitMemberInit() protected méthode

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

VisitMemberListBinding() protected méthode

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

VisitMemberMemberBinding() protected méthode

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

VisitMethodCall() protected méthode

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

VisitNew() protected méthode

protected VisitNew ( NewExpression nex ) : NewExpression
nex System.Linq.Expressions.NewExpression
Résultat System.Linq.Expressions.NewExpression

VisitNewArray() protected méthode

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

VisitParameter() protected méthode

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

VisitTypeIs() protected méthode

protected VisitTypeIs ( TypeBinaryExpression b ) : Expression
b System.Linq.Expressions.TypeBinaryExpression
Résultat System.Linq.Expressions.Expression

VisitUnary() protected méthode

Apply Visitor to UnaryExpression
protected VisitUnary ( UnaryExpression u ) : Expression
u System.Linq.Expressions.UnaryExpression
Résultat System.Linq.Expressions.Expression