◆
CreateActionFromMethodInfoAndInstance()
static Action CreateActionFromMethodInfoAndInstance
(
this MethodInfo
methodInfo
,
object
instance
)
static
Parameters
methodInfo
must represent a parameterless function, that is a member of object's type.
instance
instance of the object that will be the context of the function when executed.
Returns
a delegate that can invoke the provided function, in the context of the provided object.
EyE
Sys
Reflection
ReflectionExtensions