Show / Hide Table of Contents

Delegate RefResult<T>

Delegate type for "ref return" injections

Namespace: HarmonyLib
Assembly: 0Harmony.dll
Syntax
public delegate T RefResult<T>();
Returns
Type Description
T
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
System.Object object
System.IntPtr method

Methods

BeginInvoke(AsyncCallback, Object)

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

EndInvoke(IAsyncResult)

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

Invoke()

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