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
object target

The instance

object[] parameters

The method parameters

Returns
Type Description
object

The method result

Constructors

FastInvokeHandler(object, IntPtr)

Declaration
public FastInvokeHandler(object @object, IntPtr method)
Parameters
Type Name Description
object object
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
object target
object[] parameters
AsyncCallback callback
object object
Returns
Type Description
IAsyncResult

EndInvoke(IAsyncResult)

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

Invoke(object, params object[])

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