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.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
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