Show / Hide Table of Contents

Delegate RefResult<T>

Delegate type for "ref return" injections

Namespace: HarmonyLib
Assembly: 0Harmony.dll
Syntax
public delegate ref T RefResult<T>()
Returns
Type Description
T Delegate type for "ref return" injections
Type Parameters
Name Description
T

Return type of the original method, without ref modifier

Constructors

RefResult(object, IntPtr)

Declaration
public RefResult(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 ref T EndInvoke(IAsyncResult result)
Parameters
Type Name Description
IAsyncResult result
Returns
Type Description
T

Invoke()

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