Method CompileConstructorDelegate

| MongoDB CSharp Driver API Reference (original) (raw)

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 ConstructorInfo

The constructor.

Returns

Delegate

A delegate that calls the constructor.