Click or drag to resize

ExpressionParameterReplacer Class

A class that replaces all occurences of one parameter with a different parameter.
Inheritance Hierarchy
SystemObject
  MongoDB.Driver.LinqExpressionVisitor
    MongoDB.Driver.LinqExpressionParameterReplacer

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 ExpressionParameterReplacer : ExpressionVisitor

The ExpressionParameterReplacer type exposes the following members.

Constructors
  NameDescription
Public methodExpressionParameterReplacer
Initializes a new instance of the ExpressionParameterReplacer 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 methodStatic memberReplaceParameter
Replaces all occurences of one parameter with a different parameter.
Public methodToString (Inherited from Object.)
Protected methodVisit(ReadOnlyCollectionExpression)
Visits an Expression list.
(Inherited from ExpressionVisitor.)
Protected methodVisit(Expression)
Visits an Expression.
(Inherited from ExpressionVisitor.)
Protected methodVisitBinary
Visits a BinaryExpression.
(Inherited from ExpressionVisitor.)
Protected methodVisitConditional
Visits a ConditionalExpression.
(Inherited from ExpressionVisitor.)
Protected methodVisitConstant
Visits a ConstantExpression.
(Inherited from ExpressionVisitor.)
Protected methodVisitElementInit
Visits an ElementInit.
(Inherited from ExpressionVisitor.)
Protected methodVisitElementInitList
Visits an ElementInit list.
(Inherited from ExpressionVisitor.)
Protected methodVisitInvocation
Visits an InvocationExpression.
(Inherited from ExpressionVisitor.)
Protected methodVisitLambda
Visits a LambdaExpression.
(Inherited from ExpressionVisitor.)
Protected methodVisitListInit
Visits a ListInitExpression.
(Inherited from ExpressionVisitor.)
Protected methodVisitMember
Visits a MemberExpression.
(Inherited from ExpressionVisitor.)
Protected methodVisitMemberAssignment
Visits a MemberAssignment.
(Inherited from ExpressionVisitor.)
Protected methodVisitMemberBinding
Visits a MemberBinding.
(Inherited from ExpressionVisitor.)
Protected methodVisitMemberBindingList
Visits a MemberBinding list.
(Inherited from ExpressionVisitor.)
Protected methodVisitMemberInit
Visits a MemberInitExpression.
(Inherited from ExpressionVisitor.)
Protected methodVisitMemberListBinding
Visits a MemberListBinding.
(Inherited from ExpressionVisitor.)
Protected methodVisitMemberMemberBinding
Visits a MemberMemberBinding.
(Inherited from ExpressionVisitor.)
Protected methodVisitMethodCall
Visits a MethodCallExpression.
(Inherited from ExpressionVisitor.)
Protected methodVisitNew
Visits a NewExpression.
(Inherited from ExpressionVisitor.)
Protected methodVisitNewArray
Visits a NewArrayExpression.
(Inherited from ExpressionVisitor.)
Protected methodVisitParameter
Replaces the from parameter with the two parameter if it maches.
(Overrides ExpressionVisitorVisitParameter(ParameterExpression).)
Protected methodVisitTypeBinary
Visits a TypeBinaryExpression.
(Inherited from ExpressionVisitor.)
Protected methodVisitUnary
Visits a UnaryExpression.
(Inherited from ExpressionVisitor.)
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