docs/api/HarmonyLib.FastInvokeHandler.html
A delegate to invoke a method
public delegate object FastInvokeHandler(object target, params object[] parameters);
| Type | Name | Description |
|---|---|---|
| System.Object | target |
The instance
| | System.Object[] | parameters |
The method parameters
|
| Type | Description |
|---|---|
| System.Object |
The method result
|
public FastInvokeHandler(object object, IntPtr method)
| Type | Name | Description |
|---|---|---|
| System.Object | object | |
| System.IntPtr | method |
public virtual IAsyncResult BeginInvoke(object target, object[] parameters, AsyncCallback callback, object object)
| Type | Name | Description |
|---|---|---|
| System.Object | target | |
| System.Object[] | parameters | |
| System.AsyncCallback | callback | |
| System.Object | object |
| Type | Description |
|---|---|
| System.IAsyncResult |
public virtual object EndInvoke(IAsyncResult result)
| Type | Name | Description |
|---|---|---|
| System.IAsyncResult | result |
| Type | Description |
|---|---|
| System.Object |
public virtual object Invoke(object target, params object[] parameters)
| Type | Name | Description |
|---|---|---|
| System.Object | target | |
| System.Object[] | parameters |
| Type | Description |
|---|---|
| System.Object |