Method CompileFactoryMethodDelegate
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Bson.dll
CompileFactoryMethodDelegate(MethodInfo)
Creates and compiles a delegate that calls a factory method.
public Delegate CompileFactoryMethodDelegate(MethodInfo methodInfo)
Parameters
methodInfo
MethodInfo
the method.
Returns
A delegate that calls the factory method.