| 
            
              MethodInfoExtensionsCreateActionT1, T2, T3(MethodInfo) Method
             | 
          
        
        
            Turns a MethodInfo into an Action that can be called with objects of the specified type. 
            
        
        Namespace: GSF.ReflectionAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.258-beta+f8b6aa3dbfe0b4cc2b0b0760dd5d2a3dd4f59d09
Syntaxpublic static Action<Object, T1, T2, T3> CreateAction<T1, T2, T3>(
	this MethodInfo method
)
<ExtensionAttribute>
Public Shared Function CreateAction(Of T1, T2, T3) ( 
	method As MethodInfo
) As Action(Of Object, T1, T2, T3)
public:
[ExtensionAttribute]
generic<typename T1, typename T2, typename T3>
static Action<Object^, T1, T2, T3>^ CreateAction(
	MethodInfo^ method
)
[<ExtensionAttribute>]
static member CreateAction : 
        method : MethodInfo -> Action<Object, 'T1, 'T2, 'T3> JavaScript does not support generic types or methods.
 View SourceParameters
- method  MethodInfo
 - the method that should be compiled.
 
Type Parameters
- T1
 - T2
 - T3
 
Return Value
ActionObject, 
T1, 
T2, 
T3The compiled method.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type 
MethodInfo. When you use instance method syntax to call this method, omit the first parameter. For more information, see 
Extension Methods (Visual Basic) or 
Extension Methods (C# Programming Guide).
See Also