Click or drag to resize

ExpressionPrettyPrinter Class

A class that pretty prints an Expression.
Inheritance Hierarchy

Namespace:  MongoDB.Driver.Linq
Assembly:  MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.12.2+a4a3888f4fb51bb518b1eb5002effc2d47f2ea6a
Syntax
public class ExpressionPrettyPrinter : ExpressionVisitor

The ExpressionPrettyPrinter type exposes the following members.

Constructors
  NameDescription
Public methodExpressionPrettyPrinter
Initializes a new instance of the ExpressionPrettyPrinter 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 methodStatic memberPrettyPrint
Pretty prints an Expression.
Public methodToString
Returns the pretty printed string representation of the Expression.
(Overrides ObjectToString.)
Protected methodVisit(ReadOnlyCollectionExpression)
Visits an Expression list.
(Inherited from ExpressionVisitor.)
Protected methodVisit(Expression)
Visits an Expression.
(Inherited from ExpressionVisitor.)
Protected methodVisitBinary
Visits a BinaryExpression.
(Overrides ExpressionVisitorVisitBinary(BinaryExpression).)
Protected methodVisitConditional
Visits a ConditionalExpression.
(Overrides ExpressionVisitorVisitConditional(ConditionalExpression).)
Protected methodVisitConstant
Visits a ConstantExpression.
(Overrides ExpressionVisitorVisitConstant(ConstantExpression).)
Protected methodVisitElementInit
Visits an ElementInit node.
(Overrides ExpressionVisitorVisitElementInit(ElementInit).)
Protected methodVisitElementInitList
Visits an ElementInit list.
(Overrides ExpressionVisitorVisitElementInitList(ReadOnlyCollectionElementInit).)
Protected methodVisitInvocation
Visits an InvocationExpression.
(Overrides ExpressionVisitorVisitInvocation(InvocationExpression).)
Protected methodVisitLambda
Visits a LambdaExpression.
(Overrides ExpressionVisitorVisitLambda(LambdaExpression).)
Protected methodVisitListInit
Visits a ListInitExpression.
(Overrides ExpressionVisitorVisitListInit(ListInitExpression).)
Protected methodVisitMember
Visits a MemberExpression.
(Overrides ExpressionVisitorVisitMember(MemberExpression).)
Protected methodVisitMemberAssignment
Visits a MemberAssignment.
(Overrides ExpressionVisitorVisitMemberAssignment(MemberAssignment).)
Protected methodVisitMemberBinding
Visits a MemberBinding.
(Overrides ExpressionVisitorVisitMemberBinding(MemberBinding).)
Protected methodVisitMemberBindingList
Visits a MemberBinding list.
(Overrides ExpressionVisitorVisitMemberBindingList(ReadOnlyCollectionMemberBinding).)
Protected methodVisitMemberInit
Visits a MemberInitExpression.
(Overrides ExpressionVisitorVisitMemberInit(MemberInitExpression).)
Protected methodVisitMemberListBinding
Visits a MemberListBinding.
(Overrides ExpressionVisitorVisitMemberListBinding(MemberListBinding).)
Protected methodVisitMemberMemberBinding
Visits a MemberMemberBinding.
(Overrides ExpressionVisitorVisitMemberMemberBinding(MemberMemberBinding).)
Protected methodVisitMethodCall
Visits a MethodCallExpression.
(Overrides ExpressionVisitorVisitMethodCall(MethodCallExpression).)
Protected methodVisitNew
Visits a NewExpression.
(Overrides ExpressionVisitorVisitNew(NewExpression).)
Protected methodVisitNewArray
Visits a NewArrayExpression.
(Overrides ExpressionVisitorVisitNewArray(NewArrayExpression).)
Protected methodVisitParameter
Visits a ParameterExpression.
(Overrides ExpressionVisitorVisitParameter(ParameterExpression).)
Protected methodVisitTypeBinary
Visits a TypeBinaryExpression.
(Overrides ExpressionVisitorVisitTypeBinary(TypeBinaryExpression).)
Protected methodVisitUnary
Visits a UnaryExpression.
(Overrides ExpressionVisitorVisitUnary(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