Show / Hide Table of Contents

Delegate FastInvokeHandler

A delegate to invoke a method

Namespace: HarmonyLib
Assembly: 0Harmony.dll
Syntax
public delegate object FastInvokeHandler(object target, params object[] parameters);
Parameters
Type Name Description
System.Object target

The instance

System.Object[] parameters

The method parameters

Returns
Type Description
System.Object

The method result

Constructors

FastInvokeHandler(Object, IntPtr)

Declaration
public FastInvokeHandler(object object, IntPtr method)
Parameters
Type Name Description
System.Object object
System.IntPtr method

Methods

BeginInvoke(Object, Object[], AsyncCallback, Object)

Declaration
public virtual IAsyncResult BeginInvoke(object target, object[] parameters, AsyncCallback callback, object object)
Parameters
Type Name Description
System.Object target
System.Object[] parameters
System.AsyncCallback callback
System.Object object
Returns
Type Description
System.IAsyncResult

EndInvoke(IAsyncResult)

Declaration
public virtual object EndInvoke(IAsyncResult result)
Parameters
Type Name Description
System.IAsyncResult result
Returns
Type Description
System.Object

Invoke(Object, Object[])

Declaration
public virtual object Invoke(object target, params object[] parameters)
Parameters
Type Name Description
System.Object target
System.Object[] parameters
Returns
Type Description
System.Object
Back to top Generated by DocFX