CreatorMapDelegateCompilerCompileCreatorDelegateTClass Method |
Creates and compiles a delegate from a lambda expression.
Namespace:
MongoDB.Bson.Serialization
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax public Delegate CompileCreatorDelegate<TClass>(
Expression<Func<TClass, TClass>> creatorLambda,
out IEnumerable<MemberInfo> arguments
)
Public Function CompileCreatorDelegate(Of TClass) (
creatorLambda As Expression(Of Func(Of TClass, TClass)),
<OutAttribute> ByRef arguments As IEnumerable(Of MemberInfo)
) As Delegate
member CompileCreatorDelegate :
creatorLambda : Expression<Func<'TClass, 'TClass>> *
arguments : IEnumerable<MemberInfo> byref -> Delegate
Parameters
- creatorLambda
- Type: System.Linq.ExpressionsExpressionFuncTClass, TClass
The lambda expression. - arguments
- Type: System.Collections.GenericIEnumerableMemberInfo
The arguments for the delegate's parameters.
Type Parameters
- TClass
- The type of the class.
Return Value
Type:
DelegateA delegate.
See Also