Table of Contents

Class ExpressionFormatter

Namespace
MongoDB.Driver.Linq
Assembly
MongoDB.Driver.Legacy.dll

A class that formats an Expression as a string.

public class ExpressionFormatter : ExpressionVisitor
Inheritance
ExpressionFormatter
Inherited Members
Extension Methods

Constructors

ExpressionFormatter()

Initializes a new instance of the ExpressionFormatter class.

Methods

ToString()

Returns a string that represents the Expression.

ToString(Expression)

Returns a string that represents the Expression.

VisitBinary(BinaryExpression)

Visits a BinaryExpression.

VisitConditional(ConditionalExpression)

Visits a ConditionalExpression.

VisitConstant(ConstantExpression)

Visits a ConstantExpression.

VisitElementInit(ElementInit)

Visits an ElementInit node.

VisitElementInitList(ReadOnlyCollection<ElementInit>)

Visits an ElementInit list.

VisitInvocation(InvocationExpression)

Visits an InvocationExpression.

VisitLambda(LambdaExpression)

Visits a LambdaExpression.

VisitListInit(ListInitExpression)

Visits a ListInitExpression.

VisitMember(MemberExpression)

Visits a MemberExpression.

VisitMemberAssignment(MemberAssignment)

Visits a MemberAssignment.

VisitMemberBinding(MemberBinding)

Visits a MemberBinding.

VisitMemberBindingList(ReadOnlyCollection<MemberBinding>)

Visits a MemberBinding list.

VisitMemberInit(MemberInitExpression)

Visits a MemberInitExpression.

VisitMemberListBinding(MemberListBinding)

Visits a MemberListBinding.

VisitMemberMemberBinding(MemberMemberBinding)

Visits a MemberMemberBinding.

VisitMethodCall(MethodCallExpression)

Visits a MethodCallExpression.

VisitNew(NewExpression)

Visits a NewExpression.

VisitNewArray(NewArrayExpression)

Visits a NewArrayExpression.

VisitParameter(ParameterExpression)

Visits a ParameterExpression.

VisitTypeBinary(TypeBinaryExpression)

Visits a TypeBinaryExpression.

VisitUnary(UnaryExpression)

Visits a UnaryExpression.