Click or drag to resize
CacheableChecker Class
Simple visitor which checks whether the visited expression is cachable or not. An expression isn't cachable if the expression contains constant expressions which reference an object as that can be a displayclass (stackframe).
Inheritance Hierarchy

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.3.0.0 (5.3.0)
Syntax
public class CacheableChecker : GenericExpressionVisitor

The CacheableChecker type exposes the following members.

Constructors
  NameDescription
Public methodCacheableChecker
Initializes a new instance of the CacheableChecker class.
Top
Properties
  NameDescription
Public propertyIsCacheable
Gets a value indicating whether the visited expression is cacheable or not.
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.
(Inherited from GenericExpressionVisitor.)
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.
(Inherited from GenericExpressionVisitor.)
Protected methodVisitConditionalExpression
Visits the conditional expression.
(Inherited from GenericExpressionVisitor.)
Protected methodVisitConstantExpression
Visits the constant expression.
(Overrides GenericExpressionVisitorVisitConstantExpression(ConstantExpression).)
Protected methodVisitElementInitializer
Visits the element initializer.
(Inherited from GenericExpressionVisitor.)
Protected methodVisitElementInitializerList
Visits the element initializer list.
(Inherited from GenericExpressionVisitor.)
Public methodVisitExpression
Visits the expression.
(Inherited from GenericExpressionVisitor.)
Protected methodVisitExpressionList
Visits the expression list.
(Inherited from GenericExpressionVisitor.)
Protected methodVisitInvocationExpression
Visits the invocation expression.
(Inherited from GenericExpressionVisitor.)
Protected methodVisitLambdaExpression
Visits the lambda expression.
(Inherited from GenericExpressionVisitor.)
Protected methodVisitListInitExpression
Visits the list init expression.
(Inherited from GenericExpressionVisitor.)
Protected methodVisitMemberAssignment
Visits the member assignment.
(Inherited from GenericExpressionVisitor.)
Protected methodVisitMemberBinding
Visits the member binding.
(Inherited from GenericExpressionVisitor.)
Protected methodVisitMemberBindingList
Visits the member binding list.
(Inherited from GenericExpressionVisitor.)
Protected methodVisitMemberInitExpression
Visits the member init expression.
(Inherited from GenericExpressionVisitor.)
Protected methodVisitMemberListBinding
Visits the member list binding.
(Inherited from GenericExpressionVisitor.)
Protected methodVisitMemberMemberBinding
Visits the member member binding.
(Inherited from GenericExpressionVisitor.)
Protected methodVisitMethodCallExpression
Visits the method call expression.
(Inherited from GenericExpressionVisitor.)
Protected methodVisitNewArrayExpression
Visits the new array expression.
(Inherited from GenericExpressionVisitor.)
Protected methodVisitNewExpression
Visits the NewExpression expression
(Inherited from GenericExpressionVisitor.)
Protected methodVisitParameterExpression
Visits the parameter expression.
(Inherited from GenericExpressionVisitor.)
Protected methodVisitTypeBinaryExpression
Visits the type binary expression.
(Inherited from GenericExpressionVisitor.)
Protected methodVisitUnaryExpression
Visits the unary expression.
(Inherited from GenericExpressionVisitor.)
Top
See Also