Click or drag to resize

ExpressionFormatter Class

A class that formats an Expression as a string.
Inheritance Hierarchy

Namespace:  MongoDB.Driver.Linq
Assembly:  MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax
public class ExpressionFormatter : ExpressionVisitor

The ExpressionFormatter type exposes the following members.

Constructors
  NameDescription
Public methodExpressionFormatter
Initializes a new instance of the ExpressionFormatter class.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString
Returns a string that represents the Expression.
(Overrides ObjectToString.)
Public methodStatic memberToString(Expression)
Returns a string that represents the Expression.
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