Click or drag to resize

GenericExpressionVisitor Class

Generic class for the expression visitors. This class visits the expressions, and doesn't 'handle' them, i.e. it doesn't reconstruct objects again, it simply traverses the expression tree elements. All methods return the element visited without changes, unless overriden methods in subtypes change elements, which isn't recommended: in that case derive from GenericExpressionHandler.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ORMSupportClassesGenericExpressionVisitor
    SD.LLBLGen.Pro.ORMSupportClassesCacheableChecker

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
public abstract class GenericExpressionVisitor

The GenericExpressionVisitor type exposes the following members.

Constructors
  NameDescription
Protected methodGenericExpressionVisitor
Initializes a new instance of the GenericExpressionVisitor class.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHandleMemberExpression
Visits the member expression.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodVisitBinaryExpression
Visits the binary expression.
Protected methodVisitConditionalExpression
Visits the conditional expression.
Protected methodVisitConstantExpression
Visits the constant expression.
Protected methodVisitElementInitializer
Visits the element initializer.
Protected methodVisitElementInitializerList
Visits the element initializer list.
Public methodVisitExpression
Visits the expression.
Protected methodVisitExpressionList
Visits the expression list.
Protected methodVisitInvocationExpression
Visits the invocation expression.
Protected methodVisitLambdaExpression
Visits the lambda expression.
Protected methodVisitListInitExpression
Visits the list init expression.
Protected methodVisitMemberAssignment
Visits the member assignment.
Protected methodVisitMemberBinding
Visits the member binding.
Protected methodVisitMemberBindingList
Visits the member binding list.
Protected methodVisitMemberInitExpression
Visits the member init expression.
Protected methodVisitMemberListBinding
Visits the member list binding.
Protected methodVisitMemberMemberBinding
Visits the member member binding.
Protected methodVisitMethodCallExpression
Visits the method call expression.
Protected methodVisitNewArrayExpression
Visits the new array expression.
Protected methodVisitNewExpression
Visits the NewExpression expression
Protected methodVisitParameterExpression
Visits the parameter expression.
Protected methodVisitTypeBinaryExpression
Visits the type binary expression.
Protected methodVisitUnaryExpression
Visits the unary expression.
Top
Remarks
Code based on Matt Warren's example: http://blogs.msdn.com/mattwar/archive/2010/07/31/linq-building-an-iqueryable-provider-part-ii.aspx
See Also