Method CompileConstructorDelegate
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Bson.dll
CompileConstructorDelegate(ConstructorInfo)
Creates and compiles a delegate that calls a constructor.
public Delegate CompileConstructorDelegate(ConstructorInfo constructorInfo)
Parameters
constructorInfo
ConstructorInfo
The constructor.
Returns
A delegate that calls the constructor.