Click or drag to resize

ExpressionVisitor Class

An abstract base class for an Expression visitor.
Inheritance Hierarchy

Namespace:  MongoDB.Driver.Linq
Assembly:  MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
Syntax
public abstract class ExpressionVisitor

The ExpressionVisitor type exposes the following members.

Constructors
  NameDescription
Protected methodExpressionVisitor
Initializes a new instance of the ExpressionVisitor 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 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 methodVisit(Expression)
Visits an Expression.
Protected methodVisit(ReadOnlyCollectionExpression)
Visits an Expression list.
Protected methodVisitBinary
Visits a BinaryExpression.
Protected methodVisitConditional
Visits a ConditionalExpression.
Protected methodVisitConstant
Visits a ConstantExpression.
Protected methodVisitElementInit
Visits an ElementInit.
Protected methodVisitElementInitList
Visits an ElementInit list.
Protected methodVisitInvocation
Visits an InvocationExpression.
Protected methodVisitLambda
Visits a LambdaExpression.
Protected methodVisitListInit
Visits a ListInitExpression.
Protected methodVisitMember
Visits a MemberExpression.
Protected methodVisitMemberAssignment
Visits a MemberAssignment.
Protected methodVisitMemberBinding
Visits a MemberBinding.
Protected methodVisitMemberBindingList
Visits a MemberBinding list.
Protected methodVisitMemberInit
Visits a MemberInitExpression.
Protected methodVisitMemberListBinding
Visits a MemberListBinding.
Protected methodVisitMemberMemberBinding
Visits a MemberMemberBinding.
Protected methodVisitMethodCall
Visits a MethodCallExpression.
Protected methodVisitNew
Visits a NewExpression.
Protected methodVisitNewArray
Visits a NewArrayExpression.
Protected methodVisitParameter
Visits a ParameterExpression.
Protected methodVisitTypeBinary
Visits a TypeBinaryExpression.
Protected methodVisitUnary
Visits a UnaryExpression.
Top
Extension Methods
  NameDescription
Public Extension MethodToBson
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.)
Public Extension MethodToBsonDocument
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.)
Public Extension MethodToJson
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.)
Top
See Also