Show / Hide Table of Contents

Delegate InstantiationHandler<T>

A constructor delegate type

Namespace: HarmonyLib
Assembly: 0Harmony.dll
Syntax
public delegate T InstantiationHandler<out T>()
Returns
Type Description
T

An delegate

Type Parameters
Name Description
T

Type that constructor creates

Constructors

InstantiationHandler(object, IntPtr)

Declaration
public InstantiationHandler(object @object, IntPtr method)
Parameters
Type Name Description
object object
IntPtr method

Methods

BeginInvoke(AsyncCallback, object)

Declaration
public virtual IAsyncResult BeginInvoke(AsyncCallback callback, object @object)
Parameters
Type Name Description
AsyncCallback callback
object object
Returns
Type Description
IAsyncResult

EndInvoke(IAsyncResult)

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

Invoke()

Declaration
public virtual T Invoke()
Returns
Type Description
T
In this article
Back to top Generated by DocFX