docs/api/HarmonyLib.AccessTools.FieldRef-1.html
A readable/assignable reference delegate to a static field
public delegate F FieldRef<F>();
| Type | Description |
|---|---|
| F |
A readable/assignable reference to the field
|
| Name | Description |
|---|---|
| F |
The type of the field; or if the field's type is a reference type (a class or interface, NOT a struct or other value type), a type that System.Type.IsAssignableFrom(System.Type) that type; or if the field's type is an enum type, either that type or the underlying integral type of that enum type
|
public FieldRef(object object, IntPtr method)
| Type | Name | Description |
|---|---|---|
| System.Object | object | |
| System.IntPtr | method |
public virtual IAsyncResult BeginInvoke(AsyncCallback callback, object object)
| Type | Name | Description |
|---|---|---|
| System.AsyncCallback | callback | |
| System.Object | object |
| Type | Description |
|---|---|
| System.IAsyncResult |
public virtual F EndInvoke(IAsyncResult result)
| Type | Name | Description |
|---|---|---|
| System.IAsyncResult | result |
| Type | Description |
|---|---|
| F |
public virtual F Invoke()
| Type | Description |
|---|---|
| F |