Click or drag to resize

MethodInfoExtensions Class

Defines extensions methods related to MethodInfo.
Inheritance Hierarchy
SystemObject
  GSF.ReflectionMethodInfoExtensions

Namespace: GSF.Reflection
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public static class MethodInfoExtensions
View Source

The MethodInfoExtensions type exposes the following members.

Methods
 NameDescription
Public Extension MethodCreateAction(MethodInfo) Turns a MethodInfo into an Action that can be called with objects of the specified type.
Public Extension MethodCreateActionT1(MethodInfo) Turns a MethodInfo into an Action that can be called with objects of the specified type.
Public Extension MethodCreateActionT1, T2(MethodInfo) Turns a MethodInfo into an Action that can be called with objects of the specified type.
Public Extension MethodCreateActionT1, T2, T3(MethodInfo) Turns a MethodInfo into an Action that can be called with objects of the specified type.
Public Extension MethodCreateFuncTResult(MethodInfo) Turns a MethodInfo into a FuncTResult that can be called with objects of the specified type.
Public Extension MethodCreateFuncT1, TResult(MethodInfo) Turns a MethodInfo into a FuncTResult that can be called with objects of the specified type.
Public Extension MethodCreateFuncT1, T2, TResult(MethodInfo) Turns a MethodInfo into a FuncTResult that can be called with objects of the specified type.
Public Extension MethodCreateFuncT1, T2, T3, TResult(MethodInfo) Turns a MethodInfo into a FuncTResult that can be called with objects of the specified type.
Top
Remarks
Many of these functions help generate compiled IL code that can execute a method of a class.
See Also