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.12.2+a4a3888f4fb51bb518b1eb5002effc2d47f2ea6a
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
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 memberReplaceParameter
Replaces all occurences of one parameter with a different parameter.
Public methodToString
Returns a string that represents the current object.
(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