Show / Hide Table of Contents

Delegate AccessTools.FieldRef<F>

A readable/assignable reference delegate to a static field

Namespace: HarmonyLib
Assembly: 0Harmony.dll
Syntax
public delegate ref F AccessTools.FieldRef<F>()
Returns
Type Description
F

A readable/assignable reference to the field

Type Parameters
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 is assignable from that type; or if the field's type is an enum type, either that type or the underlying integral type of that enum type

Constructors

FieldRef(object, IntPtr)

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

Invoke()

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