Method CompileConstructorDelegate
- Namespace
- MongoDB.Bson.Serialization
- Assembly
- MongoDB.Bson.dll
CompileConstructorDelegate(ConstructorInfo)
Creates and compiles a delegate that calls a constructor.
public Delegate CompileConstructorDelegate(ConstructorInfo constructorInfo)
Parameters
constructorInfo
ConstructorInfoThe constructor.
Returns
- Delegate
A delegate that calls the constructor.