Click or drag to resize

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.8.0.0 (5.8.21.0111)
Syntax
public static Object CreateSetHandler<TDelegate>(
	Type type,
	FieldInfo fieldInfo
)

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