DynamicMethodCompilerCreateSetHandlerTDelegate Method (Type, FieldInfo) |
Creates the set handler for the type and the fieldinfo specified. It compiles an expression tree to create a dynamic setter.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses.Miscellaneous
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax public static Object CreateSetHandler<TDelegate>(
Type type,
FieldInfo fieldInfo
)
Public Shared Function CreateSetHandler(Of TDelegate) (
type As Type,
fieldInfo As FieldInfo
) As Object
Parameters
- type
- Type: SystemType
The type. - fieldInfo
- Type: System.ReflectionFieldInfo
The field info.
Type Parameters
- TDelegate
- The type of the delegate.
Return Value
Type:
Object
compiled delegate which is ready to use to set the field defined by fieldInfo on instances of the type specified
See Also