Delegate RefResult<T>
Delegate type for "ref return" injections
Assembly: 0Harmony.dll
Syntax
public delegate T RefResult<T>();
Returns
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
Invoke()
Declaration
public virtual T Invoke()
Returns