Table of Contents

Class CreatorMapDelegateCompiler

Namespace
MongoDB.Bson.Serialization
Assembly
MongoDB.Bson.dll

A helper class used to create and compile delegates for creator maps.

public class CreatorMapDelegateCompiler : ExpressionVisitor
Inheritance
CreatorMapDelegateCompiler
Inherited Members
Extension Methods

Methods

CompileConstructorDelegate(ConstructorInfo)

Creates and compiles a delegate that calls a constructor.

CompileCreatorDelegate<TClass>(Expression<Func<TClass, TClass>>, out IEnumerable<MemberInfo>)

Creates and compiles a delegate from a lambda expression.

CompileFactoryMethodDelegate(MethodInfo)

Creates and compiles a delegate that calls a factory method.

VisitMember(MemberExpression)

Visits a MemberExpression.

VisitParameter(ParameterExpression)

Visits a ParameterExpression.