Click or drag to resize
CreatorMapDelegateCompiler Class
A helper class used to create and compile delegates for creator maps.
Inheritance Hierarchy
SystemObject
  MongoDB.Bson.SerializationExpressionVisitor
    MongoDB.Bson.SerializationCreatorMapDelegateCompiler

Namespace: MongoDB.Bson.Serialization
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.4.1
Syntax
public class CreatorMapDelegateCompiler : ExpressionVisitor

The CreatorMapDelegateCompiler type exposes the following members.

Constructors
  NameDescription
Public methodCreatorMapDelegateCompiler
Initializes a new instance of the CreatorMapDelegateCompiler class
Top
Methods
  NameDescription
Public methodCompileConstructorDelegate
Creates and compiles a delegate that calls a constructor.
Public methodCompileCreatorDelegateTClass
Creates and compiles a delegate from a lambda expression.
Public methodCompileFactoryMethodDelegate
Creates and compiles a delegate that calls a factory method.
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 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.
(Overrides ExpressionVisitorVisitMember(MemberExpression).)
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
Visits a ParameterExpression.
(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